View | Details | Raw Unified | Return to bug 197226 | Differences between
and this patch

Collapse All | Expand All

(-)lang/python32/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	python32
3
PORTNAME=	python32
4
PORTVERSION=	3.2.5
4
PORTVERSION=	3.2.5
5
PORTREVISION=	12
5
PORTREVISION=	13
6
CATEGORIES=	lang python ipv6
6
CATEGORIES=	lang python ipv6
7
MASTER_SITES=	PYTHON
7
MASTER_SITES=	PYTHON
8
MASTER_SITE_SUBDIR=	ftp/python/${PORTVERSION}
8
MASTER_SITE_SUBDIR=	ftp/python/${PORTVERSION}
(-)lang/python32/files/patch-Include__pyport.h (+23 lines)
Line 0 Link Here
1
--- Include/pyport.h.orig	2013-05-15 18:33:42.000000000 +0200
2
+++ Include/pyport.h	2015-02-02 22:27:33.000000000 +0100
3
@@ -697,6 +697,12 @@
4
 #endif
5
 
6
 #ifdef _PY_PORT_CTYPE_UTF8_ISSUE
7
+#ifndef __cplusplus
8
+   /* The workaround below is unsafe in C++ because
9
+    * the <locale> defines these symbols as real functions,
10
+    * with a slightly different signature.
11
+    * See Mac Ports issue #10910
12
+    */
13
 #include <ctype.h>
14
 #include <wctype.h>
15
 #undef isalnum
16
@@ -714,6 +720,7 @@
17
 #undef toupper
18
 #define toupper(c) towupper(btowc(c))
19
 #endif
20
+#endif
21
 
22
 
23
 /* Declarations for symbol visibility.

Return to bug 197226