]> git.pld-linux.org Git - packages/netsniff-ng.git/blobdiff - netsniff-ng.spec
fix compilation using newer gcc
[packages/netsniff-ng.git] / netsniff-ng.spec
index d91ab61061802500b54ff427e40e194e6f2e0151..998e5f445550778ad6317b435cc63eefb72e35ff 100644 (file)
@@ -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 \
@@ -44,8 +45,8 @@ NACL_LIB=sodium \
        --prefix="%{_prefix}"
 %{__make} \
        %{?debug:DEBUG=1} \
-       %{!?debug:HARDENING=1 CPPFLAGS="%{rpmcflags}"} \
        Q=
+#      %{!?debug:HARDENING=1 CPPFLAGS="%{rpmcflags}"} \
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.071682 seconds and 4 git commands to generate.