forked from mirrors/nixpkgs
cnijfilter_4_00: fix broken build
30286ebcc1
updated glibc to 2.32.
This removed the deprecated <sys/sysctl.h> header, which caused a build
error on this package.
Since this header doesn't seem to be required it was removed with this
patch.
This commit is contained in:
parent
8cfb74be5b
commit
c9f2aeec17
|
@ -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