summaryrefslogtreecommitdiff
path: root/devel/splint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-31 19:01:39 +0000
committerrillig <rillig@pkgsrc.org>2005-05-31 19:01:39 +0000
commite515b81a59f20de0bcc5bacc9303f9d19a318674 (patch)
tree88b1280d5b872420e4e4b10e92f0c002e91f2e90 /devel/splint
parent0dcda0ebc145c7c4a3552e1c34e8d84bc2a010d3 (diff)
downloadpkgsrc-e515b81a59f20de0bcc5bacc9303f9d19a318674.tar.gz
Added a patch that works around a missing <stdbool.h> header.
Fixes PR 30014.
Diffstat (limited to 'devel/splint')
-rw-r--r--devel/splint/distinfo3
-rw-r--r--devel/splint/patches/patch-aa20
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/splint/distinfo b/devel/splint/distinfo
index cfd2ac22c0f..30afc38290b 100644
--- a/devel/splint/distinfo
+++ b/devel/splint/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/04/10 16:49:59 jschauma Exp $
+$NetBSD: distinfo,v 1.4 2005/05/31 19:01:39 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
diff --git a/devel/splint/patches/patch-aa b/devel/splint/patches/patch-aa
new file mode 100644
index 00000000000..1d55ef1758d
--- /dev/null
+++ b/devel/splint/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2005/05/31 19:01:40 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
+@@ -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))
++#define bool int
++#define false 0
++#define true 1
++# else
+ # include <stdbool.h>
+ # endif
+