From: Dimitri John Ledkov Date: Mon, 3 Nov 2014 11:56:53 +0000 (+0000) Subject: Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209) X-Git-Tag: archive/raspbian/3.0-3+rpi1~1^2~70 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4bbeb4eaa62c127817746b5f9b08bdf5e4b90340;p=bibletime.git Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209) --- diff --git a/debian/changelog b/debian/changelog index 8badc9c..18947b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bibletime (2.10.1-2) UNRELEASED; urgency=medium + + * Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209) + + -- Dimitri John Ledkov Mon, 03 Nov 2014 11:55:54 +0000 + bibletime (2.10.1-1) unstable; urgency=medium [ David Sanders ] diff --git a/debian/patches/s390x-ftbfs.patch b/debian/patches/s390x-ftbfs.patch new file mode 100644 index 0000000..837b5ca --- /dev/null +++ b/debian/patches/s390x-ftbfs.patch @@ -0,0 +1,13 @@ +Index: bibletime-2.10.1/CMakeLists.txt +=================================================================== +--- bibletime-2.10.1.orig/CMakeLists.txt ++++ bibletime-2.10.1/CMakeLists.txt +@@ -205,7 +205,7 @@ IF(MSVC) + SET(CMAKE_CXX_FLAGS_DEBUG "-DNO_DBUS -DSWUSINGDLL /MDd /Zc:wchar_t- /W1 /D_UNICODE /DUNICODE /Zc:wchar_t /Od") + SET(BibleTime_LDFLAGS "${BibleTime_LDFLAGS} /SUBSYSTEM:WINDOWS") + ELSE() +- SET(BibleTime_CFLAGS "${BibleTime_CFLAGS} -Wextra -fpie -fexceptions") ++ SET(BibleTime_CFLAGS "${BibleTime_CFLAGS} -Wextra -fexceptions") + SET(CMAKE_CXX_FLAGS_RELEASE "-O2") + SET(CMAKE_CXX_FLAGS_DEBUG "-ggdb") + IF(APPLE) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..cbc1051 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +s390x-ftbfs.patch