From 4bbeb4eaa62c127817746b5f9b08bdf5e4b90340 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 3 Nov 2014 11:56:53 +0000 Subject: [PATCH] Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209) --- debian/changelog | 6 ++++++ debian/patches/s390x-ftbfs.patch | 13 +++++++++++++ debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/patches/s390x-ftbfs.patch create mode 100644 debian/patches/series 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 -- 2.30.2