[packages/netsniff-ng] fix compilation using newer gcc

gotar gotar at pld-linux.org
Sun Nov 5 18:04:56 CET 2017


commit 11e5887480e5ed7fc43c8310699912a1052cc8a4
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Sun Nov 5 18:04:38 2017 +0100

    fix compilation using newer gcc

 netsniff-ng.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/netsniff-ng.spec b/netsniff-ng.spec
index e483312..998e5f4 100644
--- a/netsniff-ng.spec
+++ b/netsniff-ng.spec
@@ -35,6 +35,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %prep
 %setup -q
+%{__sed} -e '43i#include <stdint.h>' -i staging/mz.h
 
 %build
 NACL_INC_DIR=$(pkg-config --variable=includedir libsodium )/sodium \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsniff-ng.git/commitdiff/11e5887480e5ed7fc43c8310699912a1052cc8a4



More information about the pld-cvs-commit mailing list