commit:     7a42aea9cb769b137cfcbac875b6cf29fb7b5563
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 22:52:50 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 22:52:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a42aea9

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 <AT> gentoo.org>

 net-libs/gloox/files/gloox-1.0.24-slibtool.patch | 13 +++++++++++++
 net-libs/gloox/gloox-1.0.24.ebuild               |  3 ++-
 2 files changed, 15 insertions(+), 1 deletion(-)

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 00000000000..eba7ffb4061
--- /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 e7a34c9e3dc..f69f54f3f6a 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() {

Reply via email to