--- lang/python27/Makefile (revision 413606) +++ lang/python27/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= python27 PORTVERSION= ${PYTHON_PORTVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} --- lang/python27/files/patch-Include__pyport.h (nonexistent) +++ lang/python27/files/patch-Include__pyport.h (working copy) @@ -0,0 +1,24 @@ +--- Include/pyport.h.orig 2015-12-05 19:46:54 UTC ++++ Include/pyport.h +@@ -693,21 +693,6 @@ extern int fdatasync(int); + #endif /* 0 */ + + +-/* On 4.4BSD-descendants, ctype functions serves the whole range of +- * wchar_t character set rather than single byte code points only. +- * This characteristic can break some operations of string object +- * including str.upper() and str.split() on UTF-8 locales. This +- * workaround was provided by Tim Robbins of FreeBSD project. +- */ +- +-#ifdef __FreeBSD__ +-#include +-#if __FreeBSD_version > 500039 +-# define _PY_PORT_CTYPE_UTF8_ISSUE +-#endif +-#endif +- +- + #if defined(__APPLE__) + # define _PY_PORT_CTYPE_UTF8_ISSUE + #endif --- lang/python33/Makefile (revision 413606) +++ lang/python33/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= python33 PORTVERSION= ${PYTHON_PORTVERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} --- lang/python33/files/patch-Include__pyport.h (nonexistent) +++ lang/python33/files/patch-Include__pyport.h (working copy) @@ -0,0 +1,24 @@ +--- Include/pyport.h.orig 2014-10-12 07:03:52 UTC ++++ Include/pyport.h +@@ -677,21 +677,6 @@ extern pid_t forkpty(int *, char *, stru + #endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) */ + + +-/* On 4.4BSD-descendants, ctype functions serves the whole range of +- * wchar_t character set rather than single byte code points only. +- * This characteristic can break some operations of string object +- * including str.upper() and str.split() on UTF-8 locales. This +- * workaround was provided by Tim Robbins of FreeBSD project. +- */ +- +-#ifdef __FreeBSD__ +-#include +-#if __FreeBSD_version > 500039 +-# define _PY_PORT_CTYPE_UTF8_ISSUE +-#endif +-#endif +- +- + #if defined(__APPLE__) + # define _PY_PORT_CTYPE_UTF8_ISSUE + #endif --- lang/python34/Makefile (revision 413606) +++ lang/python34/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= python34 PORTVERSION= ${PYTHON_PORTVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} --- lang/python34/files/patch-Include__pyport.h (nonexistent) +++ lang/python34/files/patch-Include__pyport.h (working copy) @@ -0,0 +1,24 @@ +--- Include/pyport.h.orig 2015-12-21 06:00:57 UTC ++++ Include/pyport.h +@@ -671,21 +671,6 @@ extern pid_t forkpty(int *, char *, stru + #endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) */ + + +-/* On 4.4BSD-descendants, ctype functions serves the whole range of +- * wchar_t character set rather than single byte code points only. +- * This characteristic can break some operations of string object +- * including str.upper() and str.split() on UTF-8 locales. This +- * workaround was provided by Tim Robbins of FreeBSD project. +- */ +- +-#ifdef __FreeBSD__ +-#include +-#if __FreeBSD_version > 500039 +-# define _PY_PORT_CTYPE_UTF8_ISSUE +-#endif +-#endif +- +- + #if defined(__APPLE__) + # define _PY_PORT_CTYPE_UTF8_ISSUE + #endif --- lang/python35/Makefile (revision 413606) +++ lang/python35/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= python DISTVERSION= ${PYTHON_PORTVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PYTHON_PORTVERSION} PKGNAMESUFFIX= ${PYTHON_SUFFIX} --- lang/python35/files/patch-Include__pyport.h (nonexistent) +++ lang/python35/files/patch-Include__pyport.h (working copy) @@ -0,0 +1,24 @@ +--- Include/pyport.h.orig 2015-12-07 01:39:07 UTC ++++ Include/pyport.h +@@ -668,21 +668,6 @@ extern pid_t forkpty(int *, char *, stru + #endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) */ + + +-/* On 4.4BSD-descendants, ctype functions serves the whole range of +- * wchar_t character set rather than single byte code points only. +- * This characteristic can break some operations of string object +- * including str.upper() and str.split() on UTF-8 locales. This +- * workaround was provided by Tim Robbins of FreeBSD project. +- */ +- +-#ifdef __FreeBSD__ +-#include +-#if __FreeBSD_version > 500039 +-# define _PY_PORT_CTYPE_UTF8_ISSUE +-#endif +-#endif +- +- + #if defined(__APPLE__) + # define _PY_PORT_CTYPE_UTF8_ISSUE + #endif