summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/cfengine/files/cfengine-3.0.5_p1-regex.c.patch')
-rw-r--r--net-misc/cfengine/files/cfengine-3.0.5_p1-regex.c.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/cfengine/files/cfengine-3.0.5_p1-regex.c.patch b/net-misc/cfengine/files/cfengine-3.0.5_p1-regex.c.patch
new file mode 100644
index 000000000000..2874a9439370
--- /dev/null
+++ b/net-misc/cfengine/files/cfengine-3.0.5_p1-regex.c.patch
@@ -0,0 +1,12 @@
+diff --git a/pub/regex.c b/pub/regex.c
+index ba15918..dcaa9b4 100644
+--- a/pub/regex.c
++++ b/pub/regex.c
+@@ -40,6 +40,7 @@
+
+ /* We need this for `regex.h', and perhaps for the Emacs include files. */
+ #include <sys/types.h>
++#include <string.h>
+ #include "gnuregex.h"
+
+ /* The `emacs' switch turns on certain matching commands