1 |
commit: 01277b43fb99ba50bf59849c19305ba94783cfe2 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 9 13:35:59 2018 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 9 13:35:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01277b43 |
7 |
|
8 |
dev-lisp/clozurecl: fix compilation on x86 with 17.0 profile |
9 |
|
10 |
Suggested-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/672454 |
12 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
14 |
|
15 |
dev-lisp/clozurecl/clozurecl-1.11.5.ebuild | 2 ++ |
16 |
dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch | 7 +++++++ |
17 |
2 files changed, 9 insertions(+) |
18 |
|
19 |
diff --git a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild b/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild |
20 |
index f67f277c60a..101770fa847 100644 |
21 |
--- a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild |
22 |
+++ b/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild |
23 |
@@ -31,6 +31,8 @@ DEPEND="${RDEPEND}" |
24 |
S="${WORKDIR}"/${MY_PN} |
25 |
ENVD="${T}/50ccl" |
26 |
|
27 |
+PATCHES=( "${FILESDIR}"/${P}-no-pie-32.patch ) |
28 |
+ |
29 |
src_prepare() { |
30 |
default |
31 |
cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die |
32 |
|
33 |
diff --git a/dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch b/dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..2396c7a316c |
36 |
--- /dev/null |
37 |
+++ b/dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch |
38 |
@@ -0,0 +1,7 @@ |
39 |
+--- a/lisp-kernel/linuxx8632/Makefile |
40 |
++++ b/lisp-kernel/linuxx8632/Makefile |
41 |
+@@ -76,3 +76,3 @@ USE_LINK_SCRIPT = # -T $(LINK_SCRIPT) |
42 |
+ ../../lx86cl: $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) Makefile $(LINK_SCRIPT) |
43 |
+- $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS) |
44 |
++ $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -no-pie -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS) |
45 |
+ |