From 532a4b8680836e13566b56df073419abbf8d9b0a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 12 Sep 2004 13:38:44 +0000 Subject: [PATCH] Clifford Wolf: Fixed ngrep build [2004090715053525885] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4192 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/tschmidt/ngrep/no_pbf_h.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/tschmidt/ngrep/no_pbf_h.patch diff --git a/package/tschmidt/ngrep/no_pbf_h.patch b/package/tschmidt/ngrep/no_pbf_h.patch new file mode 100644 index 000000000..e52ff37b4 --- /dev/null +++ b/package/tschmidt/ngrep/no_pbf_h.patch @@ -0,0 +1,22 @@ +--- ./configure.orig 2004-09-07 15:06:21.021177544 +0200 ++++ ./configure 2004-09-07 15:07:22.693801880 +0200 +@@ -3272,8 +3272,7 @@ + + pcap_dir="" + for dir in $PCAP_DIR ; do +- if test -d $dir -a -r "$dir/pcap.h" -a \ +- -r "$dir/net/bpf.h" ; then ++ if test -d $dir -a -r "$dir/pcap.h" ; then + if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then + echo + echo; echo more than one set found in: +--- ./ngrep.c.orig 2004-09-07 15:08:07.421002312 +0200 ++++ ./ngrep.c 2004-09-07 15:08:14.248964304 +0200 +@@ -55,7 +55,6 @@ + #include + + #include +-#include + + #include + #include