summaryrefslogtreecommitdiff
path: root/lang/python35/files/patch-Include__pyport.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python35/files/patch-Include__pyport.h')
-rw-r--r--lang/python35/files/patch-Include__pyport.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python35/files/patch-Include__pyport.h b/lang/python35/files/patch-Include__pyport.h
new file mode 100644
index 000000000000..b0d54e32a47c
--- /dev/null
+++ b/lang/python35/files/patch-Include__pyport.h
@@ -0,0 +1,13 @@
+--- Include/pyport.h.orig 2015-12-07 02:39:07.000000000 +0100
++++ Include/pyport.h 2016-04-03 19:31:36.801717000 +0200
+@@ -677,7 +677,9 @@
+
+ #ifdef __FreeBSD__
+ #include <osreldate.h>
+-#if __FreeBSD_version > 500039
++#if (__FreeBSD_version >= 500040 && __FreeBSD_version < 602113) || \
++ (__FreeBSD_version >= 700000 && __FreeBSD_version < 700054) || \
++ (__FreeBSD_version >= 800000 && __FreeBSD_version < 800001)
+ # define _PY_PORT_CTYPE_UTF8_ISSUE
+ #endif
+ #endif