Imported Debian patch 2.9.1-2
authorDmitrijs Ledkovs <xnox@debian.org>
Tue, 17 Apr 2012 21:40:49 +0000 (22:40 +0100)
committerRoberto C. Sanchez <roberto@connexer.com>
Wed, 22 Oct 2014 02:48:47 +0000 (22:48 -0400)
debian/changelog
debian/patches/gcc4.7-ftbfs.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

index 48b9c1bfb677e9d0fd6a74553cb3fb80d20155c6..fcd3654cef1882c5465e9e02d8a479776d29ef47 100644 (file)
@@ -1,3 +1,9 @@
+bibletime (2.9.1-2) unstable; urgency=low
+
+  * Disable -Werror to work-around FTBFS with gcc-4.7 (Closes: #667113)
+
+ -- Dmitrijs Ledkovs <xnox@debian.org>  Tue, 17 Apr 2012 22:40:49 +0100
+
 bibletime (2.9.1-1) unstable; urgency=low
 
   [ Jonathan Marsden ]
diff --git a/debian/patches/gcc4.7-ftbfs.patch b/debian/patches/gcc4.7-ftbfs.patch
new file mode 100644 (file)
index 0000000..750381e
--- /dev/null
@@ -0,0 +1,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)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..fd217ed
--- /dev/null
@@ -0,0 +1 @@
+gcc4.7-ftbfs.patch