summaryrefslogtreecommitdiff
path: root/package/ngrep/ngrep-1.45-pcre-header.patch
diff options
context:
space:
mode:
authorWade Berrier <wberrier@gmail.com>2011-09-10 12:59:16 -0600
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-26 10:04:47 +0200
commitfa3410b60605f74b7b14f606b8c827a7f99284bd (patch)
tree246a2bc74cc97d34cf44bd4f984c9a2ad0cb35c1 /package/ngrep/ngrep-1.45-pcre-header.patch
parent29903084043bb00b67a7ca1eede1bf4d564fec37 (diff)
new package: ngrep (lightweight alternative to tcpdump)
Signed-off-by: Wade Berrier <wberrier@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ngrep/ngrep-1.45-pcre-header.patch')
-rw-r--r--package/ngrep/ngrep-1.45-pcre-header.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ngrep/ngrep-1.45-pcre-header.patch b/package/ngrep/ngrep-1.45-pcre-header.patch
new file mode 100644
index 000000000..40b9234db
--- /dev/null
+++ b/package/ngrep/ngrep-1.45-pcre-header.patch
@@ -0,0 +1,16 @@
+ngrep: don't use versioned header
+
+Signed-off-by: Wade Berrier <wberrier@gmail.com>
+
+diff -ur ngrep-1.45/ngrep.c ngrep-1.45.mod/ngrep.c
+--- ngrep-1.45/ngrep.c Tue Nov 28 15:38:43 2006
++++ ngrep-1.45.mod/ngrep.c Sat May 19 10:21:27 2007
+@@ -92,7 +92,7 @@
+ #endif
+
+ #if USE_PCRE
+-#include "pcre-5.0/pcre.h"
++#include "pcre.h"
+ #else
+ #include "regex-0.12/regex.h"
+ #endif