pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libslang2 libslang2: Set _XOPEN_SOURCE correctly...
details: https://anonhg.NetBSD.org/pkgsrc/rev/79c2bff66637
branches: trunk
changeset: 380573:79c2bff66637
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu May 17 10:35:59 2018 +0000
description:
libslang2: Set _XOPEN_SOURCE correctly on SunOS.
diffstat:
devel/libslang2/distinfo | 3 ++-
devel/libslang2/patches/patch-src_slproc.c | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r d94cf6a2c20b -r 79c2bff66637 devel/libslang2/distinfo
--- a/devel/libslang2/distinfo Thu May 17 10:35:32 2018 +0000
+++ b/devel/libslang2/distinfo Thu May 17 10:35:59 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2017/04/20 10:46:09 jperkin Exp $
+$NetBSD: distinfo,v 1.8 2018/05/17 10:35:59 jperkin Exp $
SHA1 (slang-2.2.4.tar.bz2) = 34e68a993888d0ae2ebc7bc31b40bc894813a7e2
RMD160 (slang-2.2.4.tar.bz2) = fc023080f021201a99263d686ab4a8b87bbb575a
@@ -11,3 +11,4 @@
SHA1 (patch-ae) = 85cc759196617a81cee65460e5aabb3a966a6a77
SHA1 (patch-af) = 15ae3f27d727492c3bebcbfbca005a78455b8774
SHA1 (patch-ag) = 25be7b526b2adb90d7b83645cc93fa67743fe86f
+SHA1 (patch-src_slproc.c) = 297723830b85ebed124ec4ff7bd6608bf2e23f29
diff -r d94cf6a2c20b -r 79c2bff66637 devel/libslang2/patches/patch-src_slproc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/patches/patch-src_slproc.c Thu May 17 10:35:59 2018 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_slproc.c,v 1.1 2018/05/17 10:35:59 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly on SunOS.
+
+--- src/slproc.c.orig 2011-04-11 02:37:07.000000000 +0000
++++ src/slproc.c
+@@ -20,12 +20,14 @@ Foundation, Inc., 59 Temple Place - Suit
+ USA.
+ */
+
++#if !defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L))
+ #ifndef _XOPEN_SOURCE
+ # define _XOPEN_SOURCE
+ #endif
+ #ifndef _XOPEN_SOURCE_EXTENDED
+ # define _XOPEN_SOURCE_EXTENDED 1
+ #endif
++#endif
+
+ #ifndef __EXTENSIONS__
+ # define __EXTENSIONS__
Home |
Main Index |
Thread Index |
Old Index