pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libslang2



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May 17 10:35:59 UTC 2018

Modified Files:
        pkgsrc/devel/libslang2: distinfo
Added Files:
        pkgsrc/devel/libslang2/patches: patch-src_slproc.c

Log Message:
libslang2: Set _XOPEN_SOURCE correctly on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libslang2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libslang2/patches/patch-src_slproc.c

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

Modified files:

Index: pkgsrc/devel/libslang2/distinfo
diff -u pkgsrc/devel/libslang2/distinfo:1.7 pkgsrc/devel/libslang2/distinfo:1.8
--- pkgsrc/devel/libslang2/distinfo:1.7 Thu Apr 20 10:46:09 2017
+++ pkgsrc/devel/libslang2/distinfo     Thu May 17 10:35:59 2018
@@ -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-ad) = 9ab953b8d850832f49f8af
 SHA1 (patch-ae) = 85cc759196617a81cee65460e5aabb3a966a6a77
 SHA1 (patch-af) = 15ae3f27d727492c3bebcbfbca005a78455b8774
 SHA1 (patch-ag) = 25be7b526b2adb90d7b83645cc93fa67743fe86f
+SHA1 (patch-src_slproc.c) = 297723830b85ebed124ec4ff7bd6608bf2e23f29

Added files:

Index: pkgsrc/devel/libslang2/patches/patch-src_slproc.c
diff -u /dev/null pkgsrc/devel/libslang2/patches/patch-src_slproc.c:1.1
--- /dev/null   Thu May 17 10:35:59 2018
+++ pkgsrc/devel/libslang2/patches/patch-src_slproc.c   Thu May 17 10:35:59 2018
@@ -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