Merge pull request #129310 from paumr/bugfix_cnijfilter
This commit is contained in:
commit
cba0fdc292
2 changed files with 11 additions and 0 deletions
|
@ -41,6 +41,7 @@ in stdenv.mkDerivation {
|
|||
./patches/cnijfilter-4.00-4-ppd.patch
|
||||
./patches/cnijfilter-4.00-5-abi_x86_32.patch
|
||||
./patches/cnijfilter-4.00-6-headers.patch
|
||||
./patches/cnijfilter-4.00-7-sysctl.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- a/cnijnpr/src/cnijnpr.c
|
||||
+++ b/cnijnpr/src/cnijnpr.c
|
||||
@@ -33,7 +33,6 @@
|
||||
#include <signal.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
-#include <sys/sysctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <config.h>
|
Loading…
Reference in a new issue