summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2018-12-09 20:35:59 +0700
committerAndrey Grozin <grozin@gentoo.org>2018-12-09 20:35:59 +0700
commit01277b43fb99ba50bf59849c19305ba94783cfe2 (patch)
treef473988f1006b0849bf9d5b8a5793671a5de2b79 /dev-lisp
parentnet-libs/libmicrohttpd: version bump to 0.9.62 (diff)
downloadgentoo-01277b43fb99ba50bf59849c19305ba94783cfe2.tar.gz
gentoo-01277b43fb99ba50bf59849c19305ba94783cfe2.tar.bz2
gentoo-01277b43fb99ba50bf59849c19305ba94783cfe2.zip
dev-lisp/clozurecl: fix compilation on x86 with 17.0 profile
Suggested-by: Sergei Trofimovich <slyfox@gentoo.org> Closes: https://bugs.gentoo.org/672454 Signed-off-by: Andrey Grozin <grozin@gentoo.org> Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/clozurecl/clozurecl-1.11.5.ebuild2
-rw-r--r--dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch7
2 files changed, 9 insertions, 0 deletions
diff --git a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild b/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
index f67f277c60af..101770fa8478 100644
--- a/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
+++ b/dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
@@ -31,6 +31,8 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_PN}
ENVD="${T}/50ccl"
+PATCHES=( "${FILESDIR}"/${P}-no-pie-32.patch )
+
src_prepare() {
default
cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die
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
new file mode 100644
index 000000000000..2396c7a316cf
--- /dev/null
+++ b/dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch
@@ -0,0 +1,7 @@
+--- a/lisp-kernel/linuxx8632/Makefile
++++ b/lisp-kernel/linuxx8632/Makefile
+@@ -76,3 +76,3 @@ USE_LINK_SCRIPT = # -T $(LINK_SCRIPT)
+ ../../lx86cl: $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) Makefile $(LINK_SCRIPT)
+- $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
++ $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -no-pie -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
+