Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209)
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Mon, 3 Nov 2014 11:56:53 +0000 (11:56 +0000)
committerDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Mon, 3 Nov 2014 11:56:53 +0000 (11:56 +0000)
debian/changelog
debian/patches/s390x-ftbfs.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

index 8badc9cffc0ff147f8ff0482afc750e7a13d7ed2..18947b81a13e8eec009ba4bb0720b27623339821 100644 (file)
@@ -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 <dimitri.j.ledkov@linux.intel.com>  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 (file)
index 0000000..837b5ca
--- /dev/null
@@ -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 (file)
index 0000000..cbc1051
--- /dev/null
@@ -0,0 +1 @@
+s390x-ftbfs.patch