From 42c5bc9f9ac737044cf875e9365303ca39ce3f79 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 13 Aug 2020 20:22:26 -0700 Subject: [PATCH] netsniff-ng: add missing header Needed for ssize_t. Signed-off-by: Rosen Penev --- net/netsniff-ng/Makefile | 2 +- net/netsniff-ng/patches/010-uclibc.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/netsniff-ng/patches/010-uclibc.patch diff --git a/net/netsniff-ng/Makefile b/net/netsniff-ng/Makefile index 0a7a6543b2..46eb0fdb36 100644 --- a/net/netsniff-ng/Makefile +++ b/net/netsniff-ng/Makefile @@ -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 index 0000000000..89cdef5ab0 --- /dev/null +++ b/net/netsniff-ng/patches/010-uclibc.patch @@ -0,0 +1,10 @@ +--- a/cookie.c ++++ b/cookie.c +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + + #include "cookie.h" + -- 2.30.2