summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lisp/ecls/ecls-21.2.1-r4.ebuild1
-rw-r--r--dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-lisp/ecls/ecls-21.2.1-r4.ebuild b/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
index 0e82d194e649..0f4009c48622 100644
--- a/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
+++ b/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch"
"${FILESDIR}/${PN}-16.1.3-build.patch"
"${FILESDIR}/${PN}-21.2.1-donotcompressinfo.patch"
+ "${FILESDIR}/${PN}-21.2.1-ldflags.patch"
)
src_prepare() {
diff --git a/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch b/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch
new file mode 100644
index 000000000000..5ac4cc5ea793
--- /dev/null
+++ b/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/723162
+
+--- ecl-21.2.1/src/c/Makefile.in
++++ ecl-21.2.1/src/c/Makefile.in
+@@ -104,7 +104,7 @@
+
+ $(DPP): $(srcdir)/dpp.c $(srcdir)/symbols_list.h
+ if test -f ../CROSS-DPP; then touch dpp; else \
+- $(TRUE_CC) -I$(srcdir) -I@true_builddir@ -I./ $(srcdir)/dpp.c @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ -o $@ ; \
++ $(TRUE_CC) -I$(srcdir) -I@true_builddir@ -I./ $(srcdir)/dpp.c @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ @LDFLAGS@ -o $@ ; \
+ fi
+
+ $(OBJS): $(DPP)