pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/parallel/py-billiard py-billiard: Set _XOPEN_SOURCE co...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b419ae2b884
branches: trunk
changeset: 375075:4b419ae2b884
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Feb 02 17:16:36 2018 +0000
description:
py-billiard: Set _XOPEN_SOURCE correctly.
diffstat:
parallel/py-billiard/distinfo | 3 +-
parallel/py-billiard/patches/patch-Modules___billiard_multiprocessing.h | 22 ++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 74c971c5a5e2 -r 4b419ae2b884 parallel/py-billiard/distinfo
--- a/parallel/py-billiard/distinfo Fri Feb 02 16:46:49 2018 +0000
+++ b/parallel/py-billiard/distinfo Fri Feb 02 17:16:36 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2017/07/17 08:03:50 adam Exp $
+$NetBSD: distinfo,v 1.11 2018/02/02 17:16:36 jperkin Exp $
SHA1 (billiard-3.5.0.3.tar.gz) = 82091e800282ff0b118edfc8709d50fbe9483199
RMD160 (billiard-3.5.0.3.tar.gz) = ec32d742102221cd090f939f761a7363d4ed7096
SHA512 (billiard-3.5.0.3.tar.gz) = f3a98e9b7af8c0b5741bcea915c0ff8d6e32e26d79637d14fc09ea85dd80693ea8205e13ac2d86e5035c377fdd6d769a2647b005dc10af8b106c75464458a808
Size (billiard-3.5.0.3.tar.gz) = 149339 bytes
+SHA1 (patch-Modules___billiard_multiprocessing.h) = 6538040cb84ee67bfd8825f5102152a5a50acbec
diff -r 74c971c5a5e2 -r 4b419ae2b884 parallel/py-billiard/patches/patch-Modules___billiard_multiprocessing.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/py-billiard/patches/patch-Modules___billiard_multiprocessing.h Fri Feb 02 17:16:36 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-Modules___billiard_multiprocessing.h,v 1.1 2018/02/02 17:16:36 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- Modules/_billiard/multiprocessing.h.orig 2017-07-16 20:03:49.000000000 +0000
++++ Modules/_billiard/multiprocessing.h
+@@ -3,10 +3,14 @@
+
+ #define PY_SSIZE_T_CLEAN
+
+-#ifdef __sun
++#if defined(__sun) && !defined(_XOPEN_SOURCE)
+ /* The control message API is only available on Solaris
+ if XPG 4.2 or later is requested. */
++# if (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE 500
++# else
++#define _XOPEN_SOURCE 600
++# endif
+ #endif
+
+ #include "Python.h"
Home |
Main Index |
Thread Index |
Old Index