pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/splint Allow splint to actually work under NetBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea51afa31e3b
branches:  trunk
changeset: 498724:ea51afa31e3b
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed Aug 31 19:08:21 2005 +0000

description:
Allow splint to actually work under NetBSD by applying patch
from FreeBSD (PR ports/61131).

diffstat:

 devel/splint/distinfo         |   3 ++-
 devel/splint/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 23418c3420a9 -r ea51afa31e3b devel/splint/distinfo
--- a/devel/splint/distinfo     Wed Aug 31 18:47:36 2005 +0000
+++ b/devel/splint/distinfo     Wed Aug 31 19:08:21 2005 +0000
@@ -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 -r 23418c3420a9 -r ea51afa31e3b devel/splint/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/splint/patches/patch-ab     Wed Aug 31 19:08:21 2005 +0000
@@ -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.  */



Home | Main Index | Thread Index | Old Index