summaryrefslogtreecommitdiff
path: root/devel/splint
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-08-31 19:08:21 +0000
committerjschauma <jschauma@pkgsrc.org>2005-08-31 19:08:21 +0000
commitab2685dad2411fcd825b528e1c7f6513c3caf04b (patch)
treea1689a9b24593ff6c7cbf57ddc54e6458cb84c6e /devel/splint
parentcc432375b827bf54996a34ecdc994e032f54d85e (diff)
downloadpkgsrc-ab2685dad2411fcd825b528e1c7f6513c3caf04b.tar.gz
Allow splint to actually work under NetBSD by applying patch
from FreeBSD (PR ports/61131).
Diffstat (limited to 'devel/splint')
-rw-r--r--devel/splint/distinfo3
-rw-r--r--devel/splint/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/splint/distinfo b/devel/splint/distinfo
index 30afc38290b..b56f24e4abc 100644
--- a/devel/splint/distinfo
+++ b/devel/splint/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/05/31 19:01:39 rillig Exp $
+$NetBSD: distinfo,v 1.5 2005/08/31 19:08:21 jschauma 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-ab) = 96c5f10adce1cc1442a55aa4aa9769ca1b0b285e
diff --git a/devel/splint/patches/patch-ab b/devel/splint/patches/patch-ab
new file mode 100644
index 00000000000..4aeb5cae11d
--- /dev/null
+++ b/devel/splint/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/08/31 19:08:21 jschauma Exp $
+
+--- src/cpplib.c.orig 2005-08-31 15:04:07.000000000 -0400
++++ src/cpplib.c 2005-08-31 15:04:30.000000000 -0400
+@@ -2828,7 +2828,7 @@
+ else if (hp->type == T_CONST)
+ ok = !CPPOPTIONS (pfile)->done_initializing;
+ else {
+- BADBRANCH;
++ ok = FALSE; /* Redefining anything else is bad. */
+ }
+
+ /* Print the warning if it's not ok. */