summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/python32/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 7ea856f0a14f..afd0a1364d58 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -150,6 +150,10 @@ post-patch:
's/disabled_module_list =[^]]*/&, "nis"/' \
${PATCH_WRKSRC}/setup.py
.endif
+# Fix for http://bugs.python.org/issue12852 (especially on 10.x+);
+# not needed for python33+
+ ${REINPLACE_CMD} -e 's|_XOPEN_SOURCE 600|_XOPEN_SOURCE 700|' \
+ ${PATCH_WRKSRC}/configure
post-configure:
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -