From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/, net-libs/gloox/files/
Date: Tue, 26 Oct 2021 05:48:07 +0000 (UTC) [thread overview]
Message-ID: <1635227264.19d9182c529f551b404d8f40525da07ee7648b16.sam@gentoo> (raw)
commit: 19d9182c529f551b404d8f40525da07ee7648b16
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 05:47:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 05:47:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d9182c
net-libs/gloox: link against pthread if needed
Closes: https://bugs.gentoo.org/772992
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/gloox/files/gloox-1.0.24-pthread-link.patch | 17 +++++++++++++++++
net-libs/gloox/gloox-1.0.24.ebuild | 1 +
2 files changed, 18 insertions(+)
diff --git a/net-libs/gloox/files/gloox-1.0.24-pthread-link.patch b/net-libs/gloox/files/gloox-1.0.24-pthread-link.patch
new file mode 100644
index 00000000000..b66c279730c
--- /dev/null
+++ b/net-libs/gloox/files/gloox-1.0.24-pthread-link.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/772992
+
+From: Sam James <sam@gentoo.org>
+Date: Tue, 26 Oct 2021 06:44:07 +0100
+Subject: [PATCH] Link against pthread for libgloox
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -47,7 +47,7 @@ libgloox_la_SOURCES = jid.cpp parser.cpp connectiontcpclient.cpp clientbase.cpp
+ iodata.cpp
+
+ libgloox_la_LDFLAGS = -version-info 18:0:0 -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
+-libgloox_la_LIBADD =
++libgloox_la_LIBADD = @PTHREAD_LIBS@
+ libgloox_la_CFLAGS = $(CPPFLAGS)
+
+ libglooxincludedir = $(includedir)/gloox
+
diff --git a/net-libs/gloox/gloox-1.0.24.ebuild b/net-libs/gloox/gloox-1.0.24.ebuild
index 54a4ddc7b74..b6339875943 100644
--- a/net-libs/gloox/gloox-1.0.24.ebuild
+++ b/net-libs/gloox/gloox-1.0.24.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.0.24-musl.patch"
"${FILESDIR}/${PN}-1.0.24-Makefile.patch"
"${FILESDIR}/${PN}-1.0.24-slibtool.patch"
+ "${FILESDIR}/${PN}-1.0.24-pthread-link.patch"
)
src_prepare() {
next reply other threads:[~2021-10-26 5:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-26 5:48 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-10-10 7:10 [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/, net-libs/gloox/files/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1635227264.19d9182c529f551b404d8f40525da07ee7648b16.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox