pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/splint Added a patch that works around a missing...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1b070842a42a
branches: trunk
changeset: 494895:1b070842a42a
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue May 31 19:01:39 2005 +0000
description:
Added a patch that works around a missing <stdbool.h> header.
Fixes PR 30014.
diffstat:
devel/splint/distinfo | 3 ++-
devel/splint/patches/patch-aa | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 2eeaff6a5825 -r 1b070842a42a devel/splint/distinfo
--- a/devel/splint/distinfo Tue May 31 18:53:32 2005 +0000
+++ b/devel/splint/distinfo Tue May 31 19:01:39 2005 +0000
@@ -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 -r 2eeaff6a5825 -r 1b070842a42a devel/splint/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/splint/patches/patch-aa Tue May 31 19:01:39 2005 +0000
@@ -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
+
Home |
Main Index |
Thread Index |
Old Index