summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-15 22:09:51 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-15 22:11:04 +0900
commitfacca24efb1aeab457357adf25a23b55fb5b350f (patch)
treefad59abfc23090971de2cfb90baf6507547a7967 /dev-libs/libunistring/files/libunistring-test.patch
parentsci-astronomy/kstars: 3.5.6 version bump (diff)
downloadgentoo-facca24efb1aeab457357adf25a23b55fb5b350f.tar.gz
gentoo-facca24efb1aeab457357adf25a23b55fb5b350f.tar.bz2
gentoo-facca24efb1aeab457357adf25a23b55fb5b350f.zip
dev-libs/libunistring: fix tests
Thanks-to: Bernardine <bernardine@you-spam.com> Closes: https://bugs.gentoo.org/688464 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs/libunistring/files/libunistring-test.patch')
-rw-r--r--dev-libs/libunistring/files/libunistring-test.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/libunistring/files/libunistring-test.patch b/dev-libs/libunistring/files/libunistring-test.patch
new file mode 100644
index 000000000000..c87befbd987f
--- /dev/null
+++ b/dev-libs/libunistring/files/libunistring-test.patch
@@ -0,0 +1,15 @@
+https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=cca32830b57e91f837c01d15b8732f23ff97fc36
+
+Author: Bruno Haible <bruno@clisp.org>
+
+--- a/tests/glthread/thread.h
++++ b/tests/glthread/thread.h
+@@ -133,8 +133,6 @@ extern int glthread_in_use (void);
+ call to foo(...) in the same function. To avoid this, we test the
+ address of a function in libpthread that we don't use. */
+
+-# pragma weak pthread_create
+-
+ # ifndef pthread_sigmask /* Do not declare rpl_pthread_sigmask weak. */
+ # pragma weak pthread_sigmask
+ # endif