pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/splint On Solaris, <stdbool.h> is not usable unl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f368187a4cbd
branches:  trunk
changeset: 518737:f368187a4cbd
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Sep 16 11:44:26 2006 +0000

description:
On Solaris, <stdbool.h> is not usable unless the C compiler is marked as
a C99 compiler.

diffstat:

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

diffs (37 lines):

diff -r 37bfea4e519b -r f368187a4cbd devel/splint/distinfo
--- a/devel/splint/distinfo     Sat Sep 16 11:29:48 2006 +0000
+++ b/devel/splint/distinfo     Sat Sep 16 11:44:26 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/08/31 19:08:21 jschauma Exp $
+$NetBSD: distinfo,v 1.6 2006/09/16 11:44:26 rillig Exp $
 
 SHA1 (splint-3.1.1.src.tgz) = 1192e8f18e8ef63fdc7a0b0fa26c35b46d59e4e6
 RMD160 (splint-3.1.1.src.tgz) = 8a0d04b20ccdfd50f99e3ef6abd59e7b25814912
 Size (splint-3.1.1.src.tgz) = 2425108 bytes
-SHA1 (patch-aa) = 44355d0f1d589928faac22e9b8f1355e13e93230
+SHA1 (patch-aa) = 12641b1d57a1e78fae19e81c53ac27f268bca498
 SHA1 (patch-ab) = 96c5f10adce1cc1442a55aa4aa9769ca1b0b285e
diff -r 37bfea4e519b -r f368187a4cbd devel/splint/patches/patch-aa
--- a/devel/splint/patches/patch-aa     Sat Sep 16 11:29:48 2006 +0000
+++ b/devel/splint/patches/patch-aa     Sat Sep 16 11:44:26 2006 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-aa,v 1.1 2005/05/31 19:01:40 rillig Exp $
+$NetBSD: patch-aa,v 1.2 2006/09/16 11:44:26 rillig Exp $
 
 Some systems don't have <stdbool.h>.
 
---- src/Headers/basic.h.orig   Mon Apr 21 00:45:26 2003
-+++ src/Headers/basic.h        Tue May 31 20:45:34 2005
+--- src/Headers/basic.h.orig   2003-04-21 00:45:26.000000000 +0200
++++ src/Headers/basic.h        2006-09-16 13:26:56.805383344 +0200
 @@ -22,8 +22,11 @@
  # include <stdlib.h>
  # include <stdio.h>
  
 -# ifndef WIN32
 -/* Microsoft VC++ still doesn't support ISO C99... */
-+# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2))
++# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) || (defined(__sun) && !(__STDC_VERSION__ >= 199901L))
 +#define bool int
 +#define false 0
 +#define true 1



Home | Main Index | Thread Index | Old Index