From 7e191ae13cc1f1595d10cdf73b4384d6a5e641c8 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 9 Jan 2004 20:26:17 +0000 Subject: - Add fix for parsing FreeBSD's sys/cdefs.h ('__func__') - Bump portrevision PR: ports/61131 Submitted by: Volker Stolz Obtained from: Splint CVS --- devel/splint/Makefile | 1 + devel/splint/files/patch-src::cpplib.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 devel/splint/files/patch-src::cpplib.c (limited to 'devel') diff --git a/devel/splint/Makefile b/devel/splint/Makefile index 4204534d62aa..ea735f236420 100644 --- a/devel/splint/Makefile +++ b/devel/splint/Makefile @@ -7,6 +7,7 @@ PORTNAME= splint PORTVERSION= 3.1.1 +PORTREVISION= 1 CATEGORIES= devel security MASTER_SITES= http://www.splint.org/downloads/ EXTRACT_SUFX= .src.tgz diff --git a/devel/splint/files/patch-src::cpplib.c b/devel/splint/files/patch-src::cpplib.c new file mode 100644 index 000000000000..2564668ff2dc --- /dev/null +++ b/devel/splint/files/patch-src::cpplib.c @@ -0,0 +1,11 @@ +--- src/cpplib.c.orig Fri Jan 9 16:44:23 2004 ++++ src/cpplib.c Fri Jan 9 16:44:51 2004 +@@ -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. */ -- cgit v1.2.3