summaryrefslogtreecommitdiff
path: root/package/ngrep/patches/patch-regex-0_12_regex_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ngrep/patches/patch-regex-0_12_regex_c')
-rw-r--r--package/ngrep/patches/patch-regex-0_12_regex_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ngrep/patches/patch-regex-0_12_regex_c b/package/ngrep/patches/patch-regex-0_12_regex_c
new file mode 100644
index 0000000..417504e
--- /dev/null
+++ b/package/ngrep/patches/patch-regex-0_12_regex_c
@@ -0,0 +1,13 @@
+--- ngrep-1.45.orig/regex-0.12/regex.c 2006-11-15 04:36:48.000000000 +0100
++++ ngrep-1.45/regex-0.12/regex.c 2016-02-08 06:29:15.000000000 +0100
+@@ -39,10 +39,6 @@
+ /* We need this for `regex.h', and perhaps for the Emacs include files. */
+ #include <sys/types.h>
+
+-#ifdef HAVE_CONFIG_H
+-#include "config.h"
+-#endif
+-
+ /* The `emacs' switch turns on certain matching commands
+ that make sense only in Emacs. */
+ #ifdef emacs