From 88646ea54e2c0fe67adbc87f884ca324afe51587 Mon Sep 17 00:00:00 2001 From: Dmitrijs Ledkovs Date: Tue, 17 Apr 2012 22:40:49 +0100 Subject: Imported Debian patch 2.9.1-2 --- debian/changelog | 6 ++++++ debian/patches/gcc4.7-ftbfs.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+) create mode 100644 debian/patches/gcc4.7-ftbfs.patch create mode 100644 debian/patches/series (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 48b9c1b..fcd3654 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 index 0000000..750381e --- /dev/null +++ b/debian/patches/gcc4.7-ftbfs.patch @@ -0,0 +1,16 @@ +Description: Work-around FTBFS with gcc4.7 by disabling -Werror +Author: Dmitrijs Ledkovs + +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 index 0000000..fd217ed --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +gcc4.7-ftbfs.patch -- cgit v1.2.3