From 02d2f6de0f054250af528d20cb9d4594ee5352a6 Mon Sep 17 00:00:00 2001 From: Chema Alonso Josa Date: Thu, 9 Feb 2017 16:01:13 +0100 Subject: dev-lisp/sbcl: Removes -no-pie GCC option Fixes bug #608678 Package-Manager: portage-2.3.3 --- dev-lisp/sbcl/files/sbcl-1.3.14-config.patch | 22 ++++++++++++++++++++++ dev-lisp/sbcl/sbcl-1.3.14.ebuild | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 dev-lisp/sbcl/files/sbcl-1.3.14-config.patch (limited to 'dev-lisp/sbcl') 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 -- cgit v1.2.3-65-gdbad