summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-21 23:52:50 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-21 23:52:58 +0100
commit7a42aea9cb769b137cfcbac875b6cf29fb7b5563 (patch)
treedb330f506f39007087e37b792de3a2a0046f0418 /net-libs
parentRevert "sci-mathematics/mathematica: Remove old" (diff)
downloadgentoo-7a42aea9cb769b137cfcbac875b6cf29fb7b5563.tar.gz
gentoo-7a42aea9cb769b137cfcbac875b6cf29fb7b5563.tar.bz2
gentoo-7a42aea9cb769b137cfcbac875b6cf29fb7b5563.zip
net-libs/gloox: Fixed build with sys-devel/slibtool
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/gloox/files/gloox-1.0.24-slibtool.patch13
-rw-r--r--net-libs/gloox/gloox-1.0.24.ebuild3
2 files changed, 15 insertions, 1 deletions
diff --git a/net-libs/gloox/files/gloox-1.0.24-slibtool.patch b/net-libs/gloox/files/gloox-1.0.24-slibtool.patch
new file mode 100644
index 000000000000..eba7ffb40613
--- /dev/null
+++ b/net-libs/gloox/files/gloox-1.0.24-slibtool.patch
@@ -0,0 +1,13 @@
+This fixes build with sys-devel/slibtool
+
+--- gloox-1.0.24/src/Makefile.am
++++ gloox-1.0.24/src/Makefile.am
+@@ -46,7 +46,7 @@
+ carbons.cpp jinglepluginfactory.cpp jingleiceudp.cpp jinglefiletransfer.cpp \
+ iodata.cpp
+
+-libgloox_la_LDFLAGS = -version-info 18:0:0 -no-undefined -no-allow-shlib-undefined
++libgloox_la_LDFLAGS = -version-info 18:0:0 -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
+ libgloox_la_LIBADD =
+ libgloox_la_CFLAGS = $(CPPFLAGS)
+
diff --git a/net-libs/gloox/gloox-1.0.24.ebuild b/net-libs/gloox/gloox-1.0.24.ebuild
index e7a34c9e3dc3..f69f54f3f6a0 100644
--- a/net-libs/gloox/gloox-1.0.24.ebuild
+++ b/net-libs/gloox/gloox-1.0.24.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -32,6 +32,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-1.0.24-musl.patch"
"${FILESDIR}/${PN}-1.0.24-Makefile.patch"
+ "${FILESDIR}/${PN}-1.0.24-slibtool.patch"
)
src_prepare() {