Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/sbcl/files/, dev-lisp/sbcl/
Date: Sun, 05 Feb 2017 15:59:06
Message-Id: 1486310307.5e7f46f2b08b4703e3712baca84d92e736f22d7d.grozin@gentoo
1 commit: 5e7f46f2b08b4703e3712baca84d92e736f22d7d
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 15:57:21 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 15:58:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7f46f2
7
8 dev-lisp/sbcl: in 1.3.13, patch out -no-pie also on x86
9
10 Bug: 607302
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 dev-lisp/sbcl/files/sbcl-1.3.13-config.patch | 32 ++++++++++++++++++++++++++++
15 dev-lisp/sbcl/sbcl-1.3.13.ebuild | 4 ++--
16 2 files changed, 34 insertions(+), 2 deletions(-)
17
18 diff --git a/dev-lisp/sbcl/files/sbcl-1.3.13-config.patch b/dev-lisp/sbcl/files/sbcl-1.3.13-config.patch
19 new file mode 100644
20 index 00000000..e20fc07
21 --- /dev/null
22 +++ b/dev-lisp/sbcl/files/sbcl-1.3.13-config.patch
23 @@ -0,0 +1,32 @@
24 +diff -r -U2 sbcl-1.3.13.orig/src/runtime/Config.x86-64-linux sbcl-1.3.13/src/runtime/Config.x86-64-linux
25 +--- sbcl-1.3.13.orig/src/runtime/Config.x86-64-linux 2016-12-31 09:38:30.000000000 +0100
26 ++++ sbcl-1.3.13/src/runtime/Config.x86-64-linux 2017-02-05 16:11:54.801938872 +0100
27 +@@ -58,12 +58,4 @@
28 + endif
29 +
30 +-# The following works for Ubuntu 16.10. There must be a better way to
31 +-# do this across various flavors of linux.
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 +-
38 + # Nothing to do for after-grovel-headers.
39 + .PHONY: after-grovel-headers
40 +diff -r -U2 sbcl-1.3.13.orig/src/runtime/Config.x86-linux sbcl-1.3.13/src/runtime/Config.x86-linux
41 +--- sbcl-1.3.13.orig/src/runtime/Config.x86-linux 2016-12-31 09:38:30.000000000 +0100
42 ++++ sbcl-1.3.13/src/runtime/Config.x86-linux 2017-02-05 16:10:16.882945480 +0100
43 +@@ -50,12 +50,4 @@
44 + endif
45 +
46 +-# The following works for Ubuntu 16.10. There must be a better way to
47 +-# do this across various flavors of linux.
48 +-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e no-pie),)
49 +-CFLAGS += -fno-pie
50 +-LINKFLAGS += -no-pie
51 +-LDFLAGS += -no-pie
52 +-endif
53 +-
54 + GC_SRC = gencgc.c
55 +
56
57 diff --git a/dev-lisp/sbcl/sbcl-1.3.13.ebuild b/dev-lisp/sbcl/sbcl-1.3.13.ebuild
58 index c23ea8b..7d7266e 100644
59 --- a/dev-lisp/sbcl/sbcl-1.3.13.ebuild
60 +++ b/dev-lisp/sbcl/sbcl-1.3.13.ebuild
61 @@ -101,8 +101,8 @@ src_prepare() {
62 eapply "${FILESDIR}"/bsd-sockets-test-1.3.12.patch
63 # bugs #560276, #561018
64 eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
65 - # bug #599902
66 - eapply "${FILESDIR}"/${PN}-1.3.11-config.patch
67 + # bug #599902, #607302
68 + eapply "${FILESDIR}"/${PN}-1.3.13-config.patch
69
70 eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
71 eapply "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch