diff options
author | rillig <rillig> | 2005-05-31 19:01:39 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-31 19:01:39 +0000 |
commit | 79e1ef49d414f12d8a487261249344f992c26d08 (patch) | |
tree | 88b1280d5b872420e4e4b10e92f0c002e91f2e90 /devel | |
parent | 989473f3c817489a6855bba18956405bd3afce6e (diff) | |
download | pkgsrc-79e1ef49d414f12d8a487261249344f992c26d08.tar.gz |
Added a patch that works around a missing <stdbool.h> header.
Fixes PR 30014.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/splint/distinfo | 3 | ||||
-rw-r--r-- | devel/splint/patches/patch-aa | 20 |
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 + |