summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-24 15:46:14 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-24 15:46:31 +0200
commit47b1fad081748e311e10ec3cf7bdd797dfe7fc6d (patch)
treeb6792612fc32548646ceac74f9bc7a9f04e710f8 /www-client/seamonkey/files
parentdev-lang/rust-bin: version bump to 1.19.0 (diff)
downloadgentoo-47b1fad081748e311e10ec3cf7bdd797dfe7fc6d.tar.gz
gentoo-47b1fad081748e311e10ec3cf7bdd797dfe7fc6d.tar.bz2
gentoo-47b1fad081748e311e10ec3cf7bdd797dfe7fc6d.zip
www-client/seamonkey: Fixed -fPIC issue (bug #625992)
also use enigmail package rather than bundle it in the ebuild. Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'www-client/seamonkey/files')
-rw-r--r--www-client/seamonkey/files/0001-CFLAGS-must-contain-fPIC-when-checking-the-linker.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/www-client/seamonkey/files/0001-CFLAGS-must-contain-fPIC-when-checking-the-linker.patch b/www-client/seamonkey/files/0001-CFLAGS-must-contain-fPIC-when-checking-the-linker.patch
new file mode 100644
index 000000000000..fe3130e33692
--- /dev/null
+++ b/www-client/seamonkey/files/0001-CFLAGS-must-contain-fPIC-when-checking-the-linker.patch
@@ -0,0 +1,35 @@
+From 4604a80b052456f20187d89e5c3e115ef0bb7251 Mon Sep 17 00:00:00 2001
+From: "Jory A. Pratt" <anarchy@gentoo.org>
+Date: Mon, 24 Jul 2017 06:10:11 -0500
+Subject: [PATCH] CFLAGS must contain -fPIC when checking the linker
+ https://bugs.gentoo.org/show_bug.cgi?id=607350
+
+Signed-off-by: Jory A. Pratt <anarchy@gentoo.org>
+---
+ mozilla/build/autoconf/compiler-opts.m4 | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/mozilla/build/autoconf/compiler-opts.m4 b/mozilla/build/autoconf/compiler-opts.m4
+index c12d400..639e99e 100644
+--- a/mozilla/build/autoconf/compiler-opts.m4
++++ b/mozilla/build/autoconf/compiler-opts.m4
+@@ -268,6 +268,8 @@ MOZ_ARG_ENABLE_BOOL(pie,
+
+ if test "$GNU_CC" -a -n "$MOZ_PIE"; then
+ AC_MSG_CHECKING([for PIE support])
++ _SAVE_CFLAGS=$CFLAGS
++ CFLAGS="$CFLAGS -fPIC"
+ _SAVE_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -pie"
+ AC_TRY_LINK(,,AC_MSG_RESULT([yes])
+@@ -275,6 +277,8 @@ if test "$GNU_CC" -a -n "$MOZ_PIE"; then
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([--enable-pie requires PIE support from the linker.]))
+ LDFLAGS=$_SAVE_LDFLAGS
++ CFLAGS=$_SAVE_CFLAGS
++
+ fi
+
+ AC_SUBST(MOZ_PROGRAM_LDFLAGS)
+--
+2.13.3