mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
wireless_tools: fix build for gcc14 and musl
This commit is contained in:
parent
2efaae3743
commit
bfd0fa934e
1 changed files with 14 additions and 0 deletions
14
srcpkgs/wireless_tools/patches/basename.patch
Normal file
14
srcpkgs/wireless_tools/patches/basename.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
Include missing basename declaration on musl
|
||||
|
||||
diff -rup ifrename.c.orig ifrename.c
|
||||
--- a/ifrename.c
|
||||
+++ b/ifrename.c
|
||||
@@ -45,6 +45,7 @@
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
+#include <libgen.h> /* basename() */
|
||||
#include <getopt.h> /* getopt_long() */
|
||||
#include <linux/sockios.h> /* SIOCSIFNAME */
|
||||
#include <fnmatch.h> /* fnmatch() */
|
||||
|
Loading…
Add table
Reference in a new issue