summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2024-08-30 10:38:09 -0400
committerMike Pagano <mpagano@gentoo.org>2024-08-30 10:38:09 -0400
commit4af6e9991a3b5089c3575afd2ddc011c1abcdfa6 (patch)
tree1531e454683495a35c490f4bc5b4e5de826630ba /net-firewall/ipset/files
parentmedia-libs/vigra: Stabilize 1.11.2_p20240505 x86, #938737 (diff)
downloadgentoo-4af6e9991a3b5089c3575afd2ddc011c1abcdfa6.tar.gz
gentoo-4af6e9991a3b5089c3575afd2ddc011c1abcdfa6.tar.bz2
gentoo-4af6e9991a3b5089c3575afd2ddc011c1abcdfa6.zip
net-firewall/ipset: Fix implicit declaration of function basename
Closes: https://bugs.gentoo.org/936926 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'net-firewall/ipset/files')
-rw-r--r--net-firewall/ipset/files/ipset-7.22-fix-building-on-musl.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-firewall/ipset/files/ipset-7.22-fix-building-on-musl.patch b/net-firewall/ipset/files/ipset-7.22-fix-building-on-musl.patch
new file mode 100644
index 000000000000..7a77aa952869
--- /dev/null
+++ b/net-firewall/ipset/files/ipset-7.22-fix-building-on-musl.patch
@@ -0,0 +1,10 @@
+--- a/src/ipset.c 2024-08-30 14:21:19.201863069 +0000
++++ b/src/ipset.c 2024-08-30 14:21:52.525571560 +0000
+@@ -15,6 +15,7 @@
+ #include <config.h>
+ #include <libipset/ipset.h> /* ipset library */
+ #include <libipset/xlate.h> /* translate to nftables */
++#include <libgen.h>
+
+ int
+ main(int argc, char *argv[])