From 01277b43fb99ba50bf59849c19305ba94783cfe2 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Sun, 9 Dec 2018 20:35:59 +0700 Subject: dev-lisp/clozurecl: fix compilation on x86 with 17.0 profile Suggested-by: Sergei Trofimovich Closes: https://bugs.gentoo.org/672454 Signed-off-by: Andrey Grozin Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- dev-lisp/clozurecl/clozurecl-1.11.5.ebuild | 2 ++ dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch (limited to 'dev-lisp/clozurecl') 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) + -- cgit v1.2.3-65-gdbad