netsniff-ng: add missing header
authorRosen Penev <redacted>
Fri, 14 Aug 2020 03:22:26 +0000 (20:22 -0700)
committerRosen Penev <redacted>
Fri, 14 Aug 2020 04:29:11 +0000 (21:29 -0700)
Needed for ssize_t.

Signed-off-by: Rosen Penev <redacted>
net/netsniff-ng/Makefile
net/netsniff-ng/patches/010-uclibc.patch [new file with mode: 0644]

index 0a7a6543b27da9ce77ed11f559eac7ecf182fd79..46eb0fdb365be19eea22ef32fd016128e8519819 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netsniff-ng
 PKG_VERSION:=0.6.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/netsniff-ng/netsniff-ng/tar.gz/v$(PKG_VERSION)?
diff --git a/net/netsniff-ng/patches/010-uclibc.patch b/net/netsniff-ng/patches/010-uclibc.patch
new file mode 100644 (file)
index 0000000..89cdef5
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/cookie.c
++++ b/cookie.c
+@@ -2,6 +2,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <syslog.h>
++#include <sys/types.h>
+ #include "cookie.h"
git clone https://git.99rst.org/PROJECT