summaryrefslogtreecommitdiff
path: root/dev-libs/npth/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-29 11:41:17 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-29 11:41:17 +0000
commit080a6ad2c3759083c02506e1348b689f2194d4eb (patch)
tree2da02928366195f2ad903d29d5a74355f5f8c804 /dev-libs/npth/files
parent48f3e81fd35a18cd49f8b8d6a041f33ad88f9c89 (diff)
gentoo auto-resync : 29:02:2024 - 11:41:17
Diffstat (limited to 'dev-libs/npth/files')
-rw-r--r--dev-libs/npth/files/npth-1.7-musl.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/npth/files/npth-1.7-musl.patch b/dev-libs/npth/files/npth-1.7-musl.patch
new file mode 100644
index 000000000000..5b51a3fd4a28
--- /dev/null
+++ b/dev-libs/npth/files/npth-1.7-musl.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/925443
+https://dev.gnupg.org/T5664
+--- a/configure.ac
++++ b/configure.ac
+@@ -381,7 +381,10 @@ fi
+ AC_SUBST(INSERT_NO_RWLOCK)
+
+ case "${host}" in
+- *-*-linux*|*-*-gnu*)
++ *-*-linux-musl*)
++ INSERT_EXPOSE_RWLOCK_API="1"
++ ;;
++ *-*-linux-gnu*|*-*-gnu*)
+ INSERT_EXPOSE_RWLOCK_API="defined(__USE_UNIX98) || defined(__USE_XOPEN2K)"
+ ;;
+ *)