package/netsniff-ng: add missing header
authorRomain Naour <romain.naour@gmail.com>
Mon, 2 Oct 2017 20:52:59 +0000 (22:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 3 Oct 2017 12:30:24 +0000 (14:30 +0200)
Like for nfs-utils and strongswan, add stdint.h header for
UINT16_MAX definition

Reported-by: Ross <grunpferd@netscape.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch [new file with mode: 0644]

diff --git a/package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch b/package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch
new file mode 100644 (file)
index 0000000..fce604e
--- /dev/null
@@ -0,0 +1,31 @@
+From 551aa0ee996132e443b5d12cbb6f114ac9aabcd3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
+Date: Mon, 3 Jul 2017 18:24:32 +0200
+Subject: [PATCH] staging: compilation fix with new gcc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
+
+Upstream patch 551aa0ee996132e443b5d12cbb6f114ac9aabcd3
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ staging/mz.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/staging/mz.h b/staging/mz.h
+index 5ed05a7..aa2c36f 100644
+--- a/staging/mz.h
++++ b/staging/mz.h
+@@ -40,6 +40,7 @@
+ #include <netinet/in.h>
+ #include <stdarg.h>
+ #include <math.h>
++#include <stdint.h>
+ extern int verbose_level;
+-- 
+2.9.5
+