pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python27 Fix SunOS build with GCC 7.1 which defau...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e881f21864d
branches: trunk
changeset: 362695:7e881f21864d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon May 22 16:45:19 2017 +0000
description:
Fix SunOS build with GCC 7.1 which defaults to C11.
diffstat:
lang/python27/distinfo | 3 +-
lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 4053fea3cbb6 -r 7e881f21864d lang/python27/distinfo
--- a/lang/python27/distinfo Mon May 22 14:49:04 2017 +0000
+++ b/lang/python27/distinfo Mon May 22 16:45:19 2017 +0000
@@ -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_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
diff -r 4053fea3cbb6 -r 7e881f21864d lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h Mon May 22 16:45:19 2017 +0000
@@ -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