Upgraded net/wavemon to 0.9.4

This commit is contained in:
SMLinux 2022-02-17 10:54:16 +05:30
parent b851ee306d
commit b5fb835cf0
2 changed files with 3 additions and 24 deletions

View file

@ -1,17 +0,0 @@
# We utilise netbsd-curses instead of ncurses, and it doesn't create
# /include/ncursesw directory, so we prune the header here
--- a/wavemon.h 2020-12-17 20:08:21.025227111 +0530
+++ b/wavemon.h 2020-12-17 20:08:36.849002476 +0530
@@ -34,12 +34,7 @@
#include <ctype.h>
#include <math.h>
#include <stdbool.h>
-#ifdef HAVE_LIBNCURSESW
-#define _XOPEN_SOURCE_EXTENDED
-#include <ncursesw/curses.h>
-#else
#include <ncurses.h>
-#endif
#include "llist.h"

View file

@ -1,8 +1,8 @@
app=wavemon
version=0.9.2
version=0.9.4
build=1sml
homepage="https://github.com/uoaerg/wavemon"
download="https://github.com/uoaerg/wavemon/archive/refs/tags/v0.9.2.tar.gz"
download="https://github.com/uoaerg/wavemon/archive/refs/tags/v0.9.4.tar.gz"
desc="Text-mode 802.11 wireless network monitor"
requires="netbsd-curses libcap libnl"
@ -16,7 +16,6 @@ build() {
# wavemon doesn't like our CFLAGS...
unset CFLAGS
patch -p1 < $srcdir/remove-ncurses-headers.patch
./configure \
--prefix="" \
@ -25,12 +24,9 @@ build() {
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
113dbb7fc946f8b7f17eedd560b285e44c56bf2397f1c64e6db7dbdedceef5934cb887a536012b47240c98df9833b41d59b5ac3de02b05ba2ceeb9710414f56e wavemon-0.9.2.tar.lz
ba46b96b2784a37259cdfb2b92248990ee3d6346ce2d8929dda62bf16f5eea19f551b8d62ca6452639e36bee925a8c8ee3a9c8fb67e93ba1549ce5a791a308cc remove-ncurses-headers.patch
5121c6216d6697cc20ef55b2e365098e327a4966758af27a5a58cc13fe84d6e0828336031d9dcfe141210821f72fc3eaefc41fa3ab8a2e572a3b92c168c1ceb1 wavemon-0.9.4.tar.gz
"