wavemon: update to 0.9.3.
This commit is contained in:
parent
f06a9ff24c
commit
e865e8adf5
2 changed files with 3 additions and 18 deletions
|
@ -1,16 +0,0 @@
|
||||||
--- iw_scan.c.orig
|
|
||||||
+++ iw_scan.c
|
|
||||||
@@ -368,6 +368,13 @@
|
|
||||||
sr->num.ch_stats = n < MAX_CH_STATS ? n : MAX_CH_STATS;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#ifndef __GLIBC__
|
|
||||||
+int on_exit(void (*function)(int , void *), void *arg)
|
|
||||||
+{
|
|
||||||
+ return -1;
|
|
||||||
+}
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/** The actual scan thread. */
|
|
||||||
void *do_scan(void *sr_ptr)
|
|
||||||
{
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'wavemon'
|
# Template file for 'wavemon'
|
||||||
pkgname=wavemon
|
pkgname=wavemon
|
||||||
version=0.9.2
|
version=0.9.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
|
@ -10,12 +10,13 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/uoaerg/wavemon"
|
homepage="https://github.com/uoaerg/wavemon"
|
||||||
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=13334ff17720ba4d17f4658dd2b93a50a6b5bc0583dedd72b88fd0cb90db686a
|
checksum=ddbeb6ec8ed7d94fa895e5d57ecfe338495df3991f6facc7cf40aa121bf7ff60
|
||||||
|
|
||||||
CFLAGS="-pthread -I${XBPS_CROSS_BASE}/usr/include/libnl3"
|
CFLAGS="-pthread -I${XBPS_CROSS_BASE}/usr/include/libnl3"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's:ncursesw/curses.h:curses.h:' wavemon.h
|
sed -i 's:ncursesw/curses.h:curses.h:' wavemon.h
|
||||||
|
sed -i '/net\/if.h/d' iw_if.h
|
||||||
sed -i '/^CFLAGS/d' configure.ac
|
sed -i '/^CFLAGS/d' configure.ac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue