pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python27



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon May 22 16:45:19 UTC 2017

Modified Files:
        pkgsrc/lang/python27: distinfo
Added Files:
        pkgsrc/lang/python27/patches:
            patch-Modules___multiprocessing_multiprocessing.h

Log Message:
Fix SunOS build with GCC 7.1 which defaults to C11.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/lang/python27/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python27/distinfo
diff -u pkgsrc/lang/python27/distinfo:1.64 pkgsrc/lang/python27/distinfo:1.65
--- pkgsrc/lang/python27/distinfo:1.64  Thu Jan 26 23:10:35 2017
+++ pkgsrc/lang/python27/distinfo       Mon May 22 16:45:19 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.64 2017/01/26 23:10:35 wiz Exp $
+$NetBSD: distinfo,v 1.65 2017/05/22 16:45:19 jperkin Exp $
 
 SHA1 (Python-2.7.13.tar.xz) = 18a8f30a0356c751b8d0ea6f76e764cab13ee046
 RMD160 (Python-2.7.13.tar.xz) = be09518cdc335314de1c5ebe181690082ce780d7
@@ -8,6 +8,7 @@ SHA1 (patch-Include_pyerrors.h) = 0d2cd5
 SHA1 (patch-Include_pyport.h) = f3e4ddbc954425a65301465410911222ca471320
 SHA1 (patch-Lib_distutils_unixccompiler.py) = db16c9aca2f29730945f28247b88b18828739bbb
 SHA1 (patch-Lib_multiprocessing_process.py) = 15699bd8ec822bf54a0631102e00e0a34f882803
+SHA1 (patch-Modules___multiprocessing_multiprocessing.h) = 7ca8fe22ba4bdcde6d39dd50fe2e86c25994c146
 SHA1 (patch-Modules___multiprocessing_semaphore.c) = 03b9c33ef38da383d5f7c2c84c17fe38cdd2911e
 SHA1 (patch-Modules__ssl.c) = 6e68f88ad205106691900f091a897ffe0a4c363c
 SHA1 (patch-Modules_getaddrinfo.c) = aa699d257f1bc98b9a3183a21324053e134409d1

Added files:

Index: pkgsrc/lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h
diff -u /dev/null pkgsrc/lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h:1.1
--- /dev/null   Mon May 22 16:45:19 2017
+++ pkgsrc/lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h      Mon May 22 16:45:19 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-Modules___multiprocessing_multiprocessing.h,v 1.1 2017/05/22 16:45:19 jperkin Exp $
+
+Only define _XOPEN_SOURCE if we aren't already using newer.
+
+--- Modules/_multiprocessing/multiprocessing.h.orig    2016-12-17 20:05:07.000000000 +0000
++++ Modules/_multiprocessing/multiprocessing.h
+@@ -3,7 +3,7 @@
+ 
+ #define PY_SSIZE_T_CLEAN
+ 
+-#ifdef __sun
++#if defined(__sun) && !(__STDC_VERSION__ - 0 >= 199901L)
+ /* The control message API is only available on Solaris 
+    if XPG 4.2 or later is requested. */
+ #define _XOPEN_SOURCE 500



Home | Main Index | Thread Index | Old Index