summaryrefslogtreecommitdiff
path: root/homebrew/pcrexx/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pcrexx/patches.sh')
-rwxr-xr-xhomebrew/pcrexx/patches.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/homebrew/pcrexx/patches.sh b/homebrew/pcrexx/patches.sh
new file mode 100755
index 000000000..c74633f9a
--- /dev/null
+++ b/homebrew/pcrexx/patches.sh
@@ -0,0 +1,20 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/libpcre++/pcre++.h b/libpcre++/pcre++.h
+index d80b387..21869fc 100644
+--- a/libpcre++/pcre++.h
++++ b/libpcre++/pcre++.h
+@@ -47,11 +47,11 @@
+ #include <map>
+ #include <stdexcept>
+ #include <iostream>
++#include <clocale>
+
+
+ extern "C" {
+ #include <pcre.h>
+- #include <locale.h>
+ }
+
+ namespace pcrepp {
+EOF