summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2017-02-09 16:01:13 +0100
committerChema Alonso Josa <nimiux@gentoo.org>2017-02-09 16:01:41 +0100
commit02d2f6de0f054250af528d20cb9d4594ee5352a6 (patch)
treeda668e1ad5b5342442cf941a8af045c853ec6f21
parentmedia-tv/plex-media-server: version bump to 1.3.4 (diff)
downloadgentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.tar.gz
gentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.tar.bz2
gentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.zip
dev-lisp/sbcl: Removes -no-pie GCC option
Fixes bug #608678 Package-Manager: portage-2.3.3
-rw-r--r--dev-lisp/sbcl/files/sbcl-1.3.14-config.patch22
-rw-r--r--dev-lisp/sbcl/sbcl-1.3.14.ebuild2
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
new file mode 100644
index 000000000000..c12700d0d6f7
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
@@ -0,0 +1,22 @@
+diff -Nuar a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile
+--- a/src/runtime/GNUmakefile 2017-01-22 20:43:20.000000000 +0100
++++ b/src/runtime/GNUmakefile 2017-02-09 15:42:22.340029401 +0100
+@@ -39,18 +39,6 @@
+ # OS_SRC, OS_LIBS, OS_CLEAN_FILES
+ include Config
+
+-# Disable PIE when possible
+-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e no-pie),)
+-CFLAGS += -fno-pie
+-LINKFLAGS += -no-pie
+-LDFLAGS += -no-pie
+-endif
+-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e -nopie),)
+-CFLAGS += -fno-pie
+-LINKFLAGS += -nopie
+-LDFLAGS += -nopie
+-endif
+-
+ COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c dynbind.c \
+ funcall.c gc-common.c globals.c interr.c interrupt.c \
+ largefile.c monitor.c os-common.c parse.c print.c purify.c \
diff --git a/dev-lisp/sbcl/sbcl-1.3.14.ebuild b/dev-lisp/sbcl/sbcl-1.3.14.ebuild
index f737a3545593..47120773925a 100644
--- a/dev-lisp/sbcl/sbcl-1.3.14.ebuild
+++ b/dev-lisp/sbcl/sbcl-1.3.14.ebuild
@@ -101,6 +101,8 @@ src_prepare() {
eapply "${FILESDIR}"/bsd-sockets-test-1.3.12.patch
# bugs #560276, #561018
eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
+ # bug #599902, #607302
+ eapply "${FILESDIR}"/${PN}-1.3.14-config.patch
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
eapply "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch