From dbaef142726dabe2ae2ddeb08754cd7e1e284282 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 16 Sep 2006 11:44:26 +0000 Subject: On Solaris, is not usable unless the C compiler is marked as a C99 compiler. --- devel/splint/distinfo | 4 ++-- devel/splint/patches/patch-aa | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'devel') diff --git a/devel/splint/distinfo b/devel/splint/distinfo index b56f24e4abc..d42ead43da8 100644 --- a/devel/splint/distinfo +++ b/devel/splint/distinfo @@ -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 --git a/devel/splint/patches/patch-aa b/devel/splint/patches/patch-aa index 1d55ef1758d..675626fb537 100644 --- a/devel/splint/patches/patch-aa +++ b/devel/splint/patches/patch-aa @@ -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 . ---- 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 # include -# 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 -- cgit v1.2.3