mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/wireless-tools: fix build with gcc 14
This commit is contained in:
parent
34bdc9a840
commit
999fda402a
2 changed files with 15 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=wireless-tools
|
||||
pkgver=30_pre9
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Open Source wireless tools"
|
||||
url="https://hewlettpackard.github.io/wireless-tools/Tools.html"
|
||||
arch="all"
|
||||
|
@ -12,6 +12,7 @@ options="!check"
|
|||
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
|
||||
source="https://hewlettpackard.github.io/wireless-tools/wireless_tools.${pkgver/_/.}.tar.gz
|
||||
flags.patch
|
||||
include-libgen.patch
|
||||
"
|
||||
builddir="$srcdir"/wireless_tools.30
|
||||
|
||||
|
@ -30,4 +31,5 @@ package() {
|
|||
sha512sums="
|
||||
0561923bca075af4754d21e1be303cbd1ce3558cb6481c9c12bc7d330a353acf8ad81a822488570e859480287999c3bb2a698c993556a92f0699743e0a527ff1 wireless_tools.30.pre9.tar.gz
|
||||
b5a06be4e4aca5319433e6f559a1bf9441c6d1d365760b3121495fd49b6ee8248c4a4a1c7cabd24d1974281b999dba916fef6e8241a2a7101e5ff7981325ab99 flags.patch
|
||||
ea5317997ea1281fcdbdac59b7ec004880575bcb9e6eceb3d39ba5a73a121bb3559ee9cbb170b57f3db333552e12c48bc378987a04e60c16284302c1b2beacf8 include-libgen.patch
|
||||
"
|
||||
|
|
12
main/wireless-tools/include-libgen.patch
Normal file
12
main/wireless-tools/include-libgen.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/ifrename.c b/ifrename.c
|
||||
index 9c6c806..0c218a4 100644
|
||||
--- a/ifrename.c
|
||||
+++ b/ifrename.c
|
||||
@@ -46,6 +46,7 @@
|
||||
#endif
|
||||
|
||||
#include <getopt.h> /* getopt_long() */
|
||||
+#include <libgen.h> /* basename() */
|
||||
#include <linux/sockios.h> /* SIOCSIFNAME */
|
||||
#include <fnmatch.h> /* fnmatch() */
|
||||
//#include <sys/syslog.h>
|
Loading…
Reference in a new issue