summaryrefslogtreecommitdiff
path: root/lang/python21/patches/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python21/patches/patch-bd')
-rw-r--r--lang/python21/patches/patch-bd12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python21/patches/patch-bd b/lang/python21/patches/patch-bd
new file mode 100644
index 00000000000..f4fac185292
--- /dev/null
+++ b/lang/python21/patches/patch-bd
@@ -0,0 +1,12 @@
+$NetBSD: patch-bd,v 1.1 2005/11/01 21:49:31 adrianp Exp $
+
+--- Modules/pcre.h.orig 2000-06-28 21:56:30.000000000 +0100
++++ Modules/pcre.h
+@@ -40,6 +40,7 @@ extern "C" {
+ #ifdef FOR_PYTHON
+ #define PCRE_LOCALE 0x0200
+ #endif
++#define PCRE_NO_AUTO_CAPTURE 0x1000
+
+ /* Exec-time error codes */
+