[Buildroot] [PATCH] package/netsniff-ng: add missing header

Romain Naour romain.naour at gmail.com
Mon Oct 2 20:52:59 UTC 2017


Like for nfs-utils and strongswan, add stdint.h header for
UINT16_MAX definition

Reported-by: Ross <grunpferd at netscape.net>
Signed-off-by: Romain Naour <romain.naour at gmail.com>
---
 ...0004-staging-compilation-fix-with-new-gcc.patch | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch

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
index 0000000..fce604e
--- /dev/null
+++ b/package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch
@@ -0,0 +1,31 @@
+From 551aa0ee996132e443b5d12cbb6f114ac9aabcd3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad at 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 at redhat.com>
+
+Upstream patch 551aa0ee996132e443b5d12cbb6f114ac9aabcd3
+Signed-off-by: Romain Naour <romain.naour at 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
+
-- 
2.9.5



More information about the buildroot mailing list