summaryrefslogtreecommitdiff
path: root/devel/splint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-09-16 11:44:26 +0000
committerrillig <rillig@pkgsrc.org>2006-09-16 11:44:26 +0000
commitdbaef142726dabe2ae2ddeb08754cd7e1e284282 (patch)
treeefbae1bd58f6c06a4d977a66a0469e5531c210b1 /devel/splint
parent4f6b78ebcdabea8a0ebb585a68d65e8e4dafddc0 (diff)
downloadpkgsrc-dbaef142726dabe2ae2ddeb08754cd7e1e284282.tar.gz
On Solaris, <stdbool.h> is not usable unless the C compiler is marked as
a C99 compiler.
Diffstat (limited to 'devel/splint')
-rw-r--r--devel/splint/distinfo4
-rw-r--r--devel/splint/patches/patch-aa8
2 files changed, 6 insertions, 6 deletions
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 <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