Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/sbcl/files/, dev-lisp/sbcl/
Date: Thu, 09 Feb 2017 15:02:01
Message-Id: 1486652501.02d2f6de0f054250af528d20cb9d4594ee5352a6.nimiux@gentoo
1 commit: 02d2f6de0f054250af528d20cb9d4594ee5352a6
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 9 15:01:13 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 9 15:01:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d2f6de
7
8 dev-lisp/sbcl: Removes -no-pie GCC option
9
10 Fixes bug #608678
11
12 Package-Manager: portage-2.3.3
13
14 dev-lisp/sbcl/files/sbcl-1.3.14-config.patch | 22 ++++++++++++++++++++++
15 dev-lisp/sbcl/sbcl-1.3.14.ebuild | 2 ++
16 2 files changed, 24 insertions(+)
17
18 diff --git a/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
19 new file mode 100644
20 index 0000000000..c12700d0d6
21 --- /dev/null
22 +++ b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
23 @@ -0,0 +1,22 @@
24 +diff -Nuar a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile
25 +--- a/src/runtime/GNUmakefile 2017-01-22 20:43:20.000000000 +0100
26 ++++ b/src/runtime/GNUmakefile 2017-02-09 15:42:22.340029401 +0100
27 +@@ -39,18 +39,6 @@
28 + # OS_SRC, OS_LIBS, OS_CLEAN_FILES
29 + include Config
30 +
31 +-# Disable PIE when possible
32 +-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e no-pie),)
33 +-CFLAGS += -fno-pie
34 +-LINKFLAGS += -no-pie
35 +-LDFLAGS += -no-pie
36 +-endif
37 +-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e -nopie),)
38 +-CFLAGS += -fno-pie
39 +-LINKFLAGS += -nopie
40 +-LDFLAGS += -nopie
41 +-endif
42 +-
43 + COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c dynbind.c \
44 + funcall.c gc-common.c globals.c interr.c interrupt.c \
45 + largefile.c monitor.c os-common.c parse.c print.c purify.c \
46
47 diff --git a/dev-lisp/sbcl/sbcl-1.3.14.ebuild b/dev-lisp/sbcl/sbcl-1.3.14.ebuild
48 index f737a35455..4712077392 100644
49 --- a/dev-lisp/sbcl/sbcl-1.3.14.ebuild
50 +++ b/dev-lisp/sbcl/sbcl-1.3.14.ebuild
51 @@ -101,6 +101,8 @@ src_prepare() {
52 eapply "${FILESDIR}"/bsd-sockets-test-1.3.12.patch
53 # bugs #560276, #561018
54 eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
55 + # bug #599902, #607302
56 + eapply "${FILESDIR}"/${PN}-1.3.14-config.patch
57
58 eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
59 eapply "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch