aboutsummaryrefslogtreecommitdiff
path: root/lang/python27/files
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-04-25 20:22:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-04-25 20:22:19 +0000
commit3ab35818fcec73172595ca5b727ca3dd7bd3c032 (patch)
tree7e7c326704e82b486d5e8f428a82ca99c405a319 /lang/python27/files
parent10887865a95d5a0dee60f3942e392a88c1b04dce (diff)
Notes
Diffstat (limited to 'lang/python27/files')
-rw-r--r--lang/python27/files/patch-Include__pyport.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python27/files/patch-Include__pyport.h b/lang/python27/files/patch-Include__pyport.h
new file mode 100644
index 000000000000..1aa7fe90ff63
--- /dev/null
+++ b/lang/python27/files/patch-Include__pyport.h
@@ -0,0 +1,13 @@
+--- Include/pyport.h.orig 2015-12-05 20:46:54.000000000 +0100
++++ Include/pyport.h 2016-04-03 17:14:53.047412000 +0200
+@@ -702,7 +702,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