summaryrefslogtreecommitdiff
path: root/debian/patches/gcc4.7-ftbfs.patch
blob: 750381ec22e41be83bcf49e9daff203399a8ae2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Work-around FTBFS with gcc4.7 by disabling -Werror
Author: Dmitrijs Ledkovs <xnox@debian.org>

Index: bibletime/CMakeLists.txt
===================================================================
--- bibletime.orig/CMakeLists.txt	2012-04-14 17:26:58.958854000 +0100
+++ bibletime/CMakeLists.txt	2012-04-17 22:38:01.936487437 +0100
@@ -194,7 +194,7 @@
     SET(CMAKE_CXX_FLAGS_DEBUG   "-DNO_DBUS -DSWUSINGDLL /MDd /Zc:wchar_t- /W1 /D_UNICODE /DUNICODE /ZI")
 ELSE (MSVC)
     SET(CMAKE_CXX_FLAGS_RELEASE "-Wall -O2 -fexceptions")
-    SET(CMAKE_CXX_FLAGS_DEBUG   "-Wall -Werror -O2 -ggdb -fexceptions")
+    SET(CMAKE_CXX_FLAGS_DEBUG   "-Wall -O2 -ggdb -fexceptions")
 ENDIF (MSVC)