[150876] trunk

ionic at macports.org ionic at macports.org
Sun Jul 31 23:53:12 PDT 2016


Revision: 150876
          https://trac.macports.org/changeset/150876
Author:   ionic at macports.org
Date:     2016-07-31 23:53:12 -0700 (Sun, 31 Jul 2016)
Log Message:
-----------
python31: move new patch-Include-pyport.h.diff file to the correct place.

Added Paths:
-----------
    trunk/dports/lang/python31/files/patch-Include-pyport.h.diff

Removed Paths:
-------------
    trunk/lang/python31/

Copied: trunk/dports/lang/python31/files/patch-Include-pyport.h.diff (from rev 150875, trunk/lang/python31/files/patch-Include-pyport.h.diff)
===================================================================
--- trunk/dports/lang/python31/files/patch-Include-pyport.h.diff	                        (rev 0)
+++ trunk/dports/lang/python31/files/patch-Include-pyport.h.diff	2016-08-01 06:53:12 UTC (rev 150876)
@@ -0,0 +1,23 @@
+--- Include/pyport.h.old	2012-04-10 01:25:33.000000000 +0200
++++ Include/pyport.h	2016-08-01 05:50:34.000000000 +0200
+@@ -619,6 +619,12 @@
+ #endif
+ 
+ #ifdef _PY_PORT_CTYPE_UTF8_ISSUE
++#ifndef __cplusplus
++   /* The workaround below is unsafe in C++ because
++    * the <locale> defines these symbols as real functions,
++    * with a slightly different signature.
++    * See issue #10910
++    */
+ #include <ctype.h>
+ #include <wctype.h>
+ #undef isalnum
+@@ -636,6 +642,7 @@
+ #undef toupper
+ #define toupper(c) towupper(btowc(c))
+ #endif
++#endif
+ 
+ 
+ /* Declarations for symbol visibility.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160731/d1bbc33f/attachment.html>


More information about the macports-changes mailing list