pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/splint splint: use the standard check for C99 be...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1258b5a6daeb
branches:  trunk
changeset: 362117:1258b5a6daeb
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri May 05 07:34:06 2017 +0000

description:
splint: use the standard check for C99 before including a C99 header

If PR pkg/47405 was not fixed before (it probably was), this should
definitely do the trick.

diffstat:

 devel/splint/distinfo         |  4 ++--
 devel/splint/patches/patch-aa |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 78a11e128020 -r 1258b5a6daeb devel/splint/distinfo
--- a/devel/splint/distinfo     Fri May 05 06:50:29 2017 +0000
+++ b/devel/splint/distinfo     Fri May 05 07:34:06 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 03:29:33 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/05/05 07:34:06 maya Exp $
 
 SHA1 (splint-3.1.2.src.tgz) = 0df489cb228dcfffb149b38c57614c2c3e200501
 RMD160 (splint-3.1.2.src.tgz) = 52e9786d3cbeaa437877a33b18e42b32dff3b96b
 SHA512 (splint-3.1.2.src.tgz) = 9bbf3f6575763c022940efde947f845f52095a1bcf645f7f4a98feb335b62d2bd50d78420e7fe95f81eb139b110d8fe48112b025deace45f7994360b20d47e0b
 Size (splint-3.1.2.src.tgz) = 2284033 bytes
-SHA1 (patch-aa) = 3324bff7178957f25bab17cb8ab4d3d25a2d0397
+SHA1 (patch-aa) = b1504db4985b3f3533c4ca8a195edb4a1c8852b6
 SHA1 (patch-src_Headers_scan_h) = 9d286990abcad9f3df49c19c6302f1a4a590ee1b
 SHA1 (patch-src_osd.c) = 84499ef0e9bd23ea89dcb14b8951fa0dfcfed198
diff -r 78a11e128020 -r 1258b5a6daeb devel/splint/patches/patch-aa
--- a/devel/splint/patches/patch-aa     Fri May 05 06:50:29 2017 +0000
+++ b/devel/splint/patches/patch-aa     Fri May 05 07:34:06 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2009/03/03 08:58:23 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2017/05/05 07:34:06 maya Exp $
 
 Some systems don't have <stdbool.h>.
 
@@ -9,7 +9,7 @@
  # include <stdio.h>
  
 -# if !defined (WIN32) &&  !(defined (OS2) && defined (__IBMC__))
-+# if !defined (WIN32) &&  !(defined (OS2) && defined (__IBMC__)) && !(defined(__GNUC__) && (__GNUC__ == 2)) && !(defined(__sun) && !(__STDC_VERSION__ >= 199901L))
++# if (__STDC_VERSION__ >= 199901L)
  /* Microsoft VC++ still doesn't support ISO C99... */
  # include <stdbool.h>
  # endif



Home | Main Index | Thread Index | Old Index