FreeBSD Bugzilla – Attachment 169578 Details for
Bug 208486
lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Get rid of obsolete UTF-8 workaround for lang/python[27,33,34,35]
lang__pythonXY-fix-issue10910-2.diff (text/plain), 6.94 KB, created by
Dimitry Andric
on 2016-04-22 19:24:29 UTC
(
hide
)
Description:
Get rid of obsolete UTF-8 workaround for lang/python[27,33,34,35]
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-04-22 19:24:29 UTC
Size:
6.94 KB
patch
obsolete
>Index: lang/python27/Makefile >=================================================================== >--- 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} >Index: lang/python27/files/patch-Include__pyport.h >=================================================================== >--- 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 <osreldate.h> >+-#if __FreeBSD_version > 500039 >+-# define _PY_PORT_CTYPE_UTF8_ISSUE >+-#endif >+-#endif >+- >+- >+ #if defined(__APPLE__) >+ # define _PY_PORT_CTYPE_UTF8_ISSUE >+ #endif > >Property changes on: lang/python27/files/patch-Include__pyport.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/python33/Makefile >=================================================================== >--- 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} >Index: lang/python33/files/patch-Include__pyport.h >=================================================================== >--- 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 <osreldate.h> >+-#if __FreeBSD_version > 500039 >+-# define _PY_PORT_CTYPE_UTF8_ISSUE >+-#endif >+-#endif >+- >+- >+ #if defined(__APPLE__) >+ # define _PY_PORT_CTYPE_UTF8_ISSUE >+ #endif > >Property changes on: lang/python33/files/patch-Include__pyport.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/python34/Makefile >=================================================================== >--- 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} >Index: lang/python34/files/patch-Include__pyport.h >=================================================================== >--- 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 <osreldate.h> >+-#if __FreeBSD_version > 500039 >+-# define _PY_PORT_CTYPE_UTF8_ISSUE >+-#endif >+-#endif >+- >+- >+ #if defined(__APPLE__) >+ # define _PY_PORT_CTYPE_UTF8_ISSUE >+ #endif > >Property changes on: lang/python34/files/patch-Include__pyport.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/python35/Makefile >=================================================================== >--- 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} >Index: lang/python35/files/patch-Include__pyport.h >=================================================================== >--- 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 <osreldate.h> >+-#if __FreeBSD_version > 500039 >+-# define _PY_PORT_CTYPE_UTF8_ISSUE >+-#endif >+-#endif >+- >+- >+ #if defined(__APPLE__) >+ # define _PY_PORT_CTYPE_UTF8_ISSUE >+ #endif > >Property changes on: lang/python35/files/patch-Include__pyport.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208486
:
168932
|
169578
|
169596