summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-05-04 07:35:57 -0700
committerLars Wendler <polynomial-c@gentoo.org>2021-05-04 17:13:12 +0200
commitdd96e548ff290f898c7707057d028ec72433ab9d (patch)
tree6d6a5ba4e5c1cbb0c59c2c68f63882757b85bd1b /sci-libs/libnova
parentsys-auth/thinkfinger: Fix for slibtool (diff)
downloadgentoo-dd96e548ff290f898c7707057d028ec72433ab9d.tar.gz
gentoo-dd96e548ff290f898c7707057d028ec72433ab9d.tar.bz2
gentoo-dd96e548ff290f898c7707057d028ec72433ab9d.zip
sci-libs/libnova: Fix for slibtool
Thanks-to: orbea <orbea@riseup.net> Upstream-PR: https://sourceforge.net/p/libnova/libnova/merge-requests/2/ Closes: https://bugs.gentoo.org/778881 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sci-libs/libnova')
-rw-r--r--sci-libs/libnova/files/libnova-0.16.0-slibtool.patch26
-rw-r--r--sci-libs/libnova/libnova-0.16.0.ebuild2
2 files changed, 28 insertions, 0 deletions
diff --git a/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
new file mode 100644
index 000000000000..746f46f443f4
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
@@ -0,0 +1,26 @@
+From 857957a9229b49044070301da24b84dcb2bb0d67 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Sun, 28 Mar 2021 07:49:22 -0700
+Subject: [PATCH] build: Link with the libelp .la file.
+
+---
+ src/Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index aab450c..6d2b62e 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -46,8 +46,7 @@ noinst_HEADERS = \
+ lunar-priv.h
+
+ libnova_la_LIBADD = \
+- -Lelp/ \
+- -lelp
++ elp/libelp.la
+
+ libnova_la_LDFLAGS = \
+ -version-info $(LT_VERSION) \
+--
+2.29.2
+
diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild b/sci-libs/libnova/libnova-0.16.0.ebuild
index 8a1f2fcfda76..6d070e3c26f6 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -16,6 +16,8 @@ IUSE="doc examples"
BDEPEND="doc? ( app-doc/doxygen )"
+PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+
src_prepare() {
default
eautoreconf