diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-10 05:25:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-10 05:25:01 +0000 |
commit | 456dbeaab3e2f71f527eae542ab44d1e372b0655 (patch) | |
tree | 5cee708ec6e4b4e530a4337e7389598dc7cd6144 /app-office/scribus/files | |
parent | 65737cf14a7220bd9a487aa2af4ae0e79bd23e86 (diff) |
gentoo resync : 10.01.2018
Diffstat (limited to 'app-office/scribus/files')
-rw-r--r-- | app-office/scribus/files/scribus-1.5.3-x86-fpic.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-office/scribus/files/scribus-1.5.3-x86-fpic.patch b/app-office/scribus/files/scribus-1.5.3-x86-fpic.patch new file mode 100644 index 000000000000..03d4dc4daa3c --- /dev/null +++ b/app-office/scribus/files/scribus-1.5.3-x86-fpic.patch @@ -0,0 +1,16 @@ +--- a/CMakeLists.txt 2017-05-28 11:10:27.000000000 +0200 ++++ b/CMakeLists.txt 2018-01-09 14:26:14.494922353 +0100 +@@ -155,11 +155,11 @@ + set(ARCH_HPPA 1) + endif() + +-# We need to pass -fPIC to lib2geom on amd64, mips, mipsel, and hppa. See: ++# We need to pass -fPIC to lib2geom on amd64, mips, mipsel, hppa and x86. See: + # http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 and + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559133 + +-if (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1) ++if (ARCH_X86 EQUAL 1 OR ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1) + set(CMAKE_CXX_FLAGS_FPIC "-fPIC") + endif() + |