summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>2014-11-03 11:56:53 +0000
committerDimitri John Ledkov <dimitri.j.ledkov@intel.com>2014-11-03 11:56:53 +0000
commit4bbeb4eaa62c127817746b5f9b08bdf5e4b90340 (patch)
tree6ecd7b893298eb7e620358cfd5c955cc151a7c2a /debian/patches
parentc25a39c4d42c234eba4d3a7cba7400a38d310992 (diff)
Add patch to build without pie, fixes FTBFS on s390x (Closes: #767209)
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/s390x-ftbfs.patch13
-rw-r--r--debian/patches/series1
2 files changed, 14 insertions, 0 deletions
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