Date: Fri, 9 Jan 2004 17:08:41 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61131: [patch] devel/splint: Backport __func__-patch from CVS Message-ID: <200401091608.i09G8f8J056838@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200401091610.i09GAEcN030139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61131 >Category: ports >Synopsis: [patch] devel/splint: Backport __func__-patch from CVS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jan 09 08:10:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.9-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: Splint 3.1.1 cannot parse FreeBSD's sys/cdefs.h because of '__func__'. Backport fix from splint-cvs until an updated version is available. http://cvs.sourceforge.net/viewcvs.py/splint/splint/src/cpplib.c?r1=1.55&r2=1.56 >How-To-Repeat: >Fix: - Add one new patch file: files/patch-src::cpplib.c - Bump portrevision --- splint.patch begins here --- --- Makefile.orig Fri Jan 9 16:57:07 2004 +++ Makefile Fri Jan 9 16:57:19 2004 @@ -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 --- /dev/null Fri Jan 9 16:57:21 2004 +++ files/patch-src::cpplib.c Fri Jan 9 16:45:30 2004 @@ -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. */ --- splint.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401091608.i09G8f8J056838>