pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gawk Support SunOS in C99 mode.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2efc466e78bd
branches:  trunk
changeset: 352184:2efc466e78bd
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 08 16:16:15 2016 +0000

description:
Support SunOS in C99 mode.

diffstat:

 lang/gawk/distinfo                          |   3 ++-
 lang/gawk/patches/patch-extension_inplace.c |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 537f426b7e18 -r 2efc466e78bd lang/gawk/distinfo
--- a/lang/gawk/distinfo        Thu Sep 08 16:10:24 2016 +0000
+++ b/lang/gawk/distinfo        Thu Sep 08 16:16:15 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2015/12/29 23:34:47 dholland Exp $
+$NetBSD: distinfo,v 1.37 2016/09/08 16:16:15 jperkin Exp $
 
 SHA1 (gawk-4.1.3.tar.xz) = 76b0acbbdeaa0e58466675c5faf68895eedd8306
 RMD160 (gawk-4.1.3.tar.xz) = b092cbbcb48db2e5a0cef0638f85f3657b2a9fee
@@ -10,4 +10,5 @@
 SHA1 (patch-extension_Makefile.in) = 7a03efc54d0fe54ef94fbe6f35d5145b61cb0f07
 SHA1 (patch-extension_filefuncs.c) = 212774354ab55f69ff67728470ab23b43e038093
 SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
+SHA1 (patch-extension_inplace.c) = 3a8f5c091cfa4d6f8a8d048bd74166defbd85908
 SHA1 (patch-test_Makefile.in) = 7610407e0735f4b78b568e24717f3f103f8566d3
diff -r 537f426b7e18 -r 2efc466e78bd lang/gawk/patches/patch-extension_inplace.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gawk/patches/patch-extension_inplace.c       Thu Sep 08 16:16:15 2016 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-extension_inplace.c,v 1.1 2016/09/08 16:16:15 jperkin Exp $
+
+Support SunOS in C99 mode.
+
+--- extension/inplace.c.orig   2015-04-27 15:09:07.000000000 +0000
++++ extension/inplace.c
+@@ -27,12 +27,14 @@
+ #include <config.h>
+ #endif
+ 
++#if !(defined(__sun) && (__STDC_VERSION__ - 0 >= 199901L))
+ #ifndef _XOPEN_SOURCE
+ # define _XOPEN_SOURCE
+ #endif
+ #ifndef _XOPEN_SOURCE_EXTENDED
+ # define _XOPEN_SOURCE_EXTENDED 1
+ #endif
++#endif
+ 
+ #include <stdio.h>
+ #include <assert.h>



Home | Main Index | Thread Index | Old Index