Sat May 6 15:32:43 2017 UTC ()
Pullup ticket #5402 - requested by sevan
devel/splint: build fix

Revisions pulled up:
- devel/splint/distinfo                                         1.11
- devel/splint/patches/patch-aa                                 1.4

---
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Fri May  5 07:34:06 UTC 2017

   Modified Files:
           pkgsrc/devel/splint: distinfo
           pkgsrc/devel/splint/patches: patch-aa

   Log Message:
   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.


(bsiegert)
diff -r1.10 -r1.10.12.1 pkgsrc/devel/splint/distinfo
diff -r1.3 -r1.3.66.1 pkgsrc/devel/splint/patches/patch-aa

cvs diff -r1.10 -r1.10.12.1 pkgsrc/devel/splint/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/splint/distinfo 2015/11/03 03:29:33 1.10
+++ pkgsrc/devel/splint/distinfo 2017/05/06 15:32:43 1.10.12.1
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.10 2015/11/03 03:29:33 agc Exp $ 1$NetBSD: distinfo,v 1.10.12.1 2017/05/06 15:32:43 bsiegert Exp $
2 2
3SHA1 (splint-3.1.2.src.tgz) = 0df489cb228dcfffb149b38c57614c2c3e200501 3SHA1 (splint-3.1.2.src.tgz) = 0df489cb228dcfffb149b38c57614c2c3e200501
4RMD160 (splint-3.1.2.src.tgz) = 52e9786d3cbeaa437877a33b18e42b32dff3b96b 4RMD160 (splint-3.1.2.src.tgz) = 52e9786d3cbeaa437877a33b18e42b32dff3b96b
5SHA512 (splint-3.1.2.src.tgz) = 9bbf3f6575763c022940efde947f845f52095a1bcf645f7f4a98feb335b62d2bd50d78420e7fe95f81eb139b110d8fe48112b025deace45f7994360b20d47e0b 5SHA512 (splint-3.1.2.src.tgz) = 9bbf3f6575763c022940efde947f845f52095a1bcf645f7f4a98feb335b62d2bd50d78420e7fe95f81eb139b110d8fe48112b025deace45f7994360b20d47e0b
6Size (splint-3.1.2.src.tgz) = 2284033 bytes 6Size (splint-3.1.2.src.tgz) = 2284033 bytes
7SHA1 (patch-aa) = 3324bff7178957f25bab17cb8ab4d3d25a2d0397 7SHA1 (patch-aa) = b1504db4985b3f3533c4ca8a195edb4a1c8852b6
8SHA1 (patch-src_Headers_scan_h) = 9d286990abcad9f3df49c19c6302f1a4a590ee1b 8SHA1 (patch-src_Headers_scan_h) = 9d286990abcad9f3df49c19c6302f1a4a590ee1b
9SHA1 (patch-src_osd.c) = 84499ef0e9bd23ea89dcb14b8951fa0dfcfed198 9SHA1 (patch-src_osd.c) = 84499ef0e9bd23ea89dcb14b8951fa0dfcfed198

cvs diff -r1.3 -r1.3.66.1 pkgsrc/devel/splint/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/devel/splint/patches/patch-aa 2009/03/03 08:58:23 1.3
+++ pkgsrc/devel/splint/patches/patch-aa 2017/05/06 15:32:43 1.3.66.1
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-aa,v 1.3 2009/03/03 08:58:23 rillig Exp $ 1$NetBSD: patch-aa,v 1.3.66.1 2017/05/06 15:32:43 bsiegert Exp $
2 2
3Some systems don't have <stdbool.h>. 3Some systems don't have <stdbool.h>.
4 4
5--- src/Headers/basic.h.orig 2003-11-02 21:55:03.000000000 +0100 5--- src/Headers/basic.h.orig 2003-11-02 21:55:03.000000000 +0100
6+++ src/Headers/basic.h 2009-03-03 09:43:05.000000000 +0100 6+++ src/Headers/basic.h 2009-03-03 09:43:05.000000000 +0100
7@@ -26,7 +26,7 @@ 7@@ -26,7 +26,7 @@
8 # include <stdlib.h> 8 # include <stdlib.h>
9 # include <stdio.h> 9 # include <stdio.h>
10  10
11-# if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__)) 11-# if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__))
12+# if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__)) && !(defined(__GNUC__) && (__GNUC__ == 2)) && !(defined(__sun) && !(__STDC_VERSION__ >= 199901L)) 12+# if (__STDC_VERSION__ >= 199901L)
13 /* Microsoft VC++ still doesn't support ISO C99... */ 13 /* Microsoft VC++ still doesn't support ISO C99... */
14 # include <stdbool.h> 14 # include <stdbool.h>
15 # endif 15 # endif