From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 9 08:10:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C6616A4CE for ; Fri, 9 Jan 2004 08:10:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB52843D5F for ; Fri, 9 Jan 2004 08:10:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i09GAEFR030140 for ; Fri, 9 Jan 2004 08:10:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i09GAEcN030139; Fri, 9 Jan 2004 08:10:14 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 9 Jan 2004 08:10:14 -0800 (PST) Resent-Message-Id: <200401091610.i09GAEcN030139@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Stolz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 694BA16A4CE for ; Fri, 9 Jan 2004 08:08:44 -0800 (PST) Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BE3343D1F for ; Fri, 9 Jan 2004 08:08:42 -0800 (PST) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5-michaelw-20030918) with ESMTP id i09G8fm00897 for ; Fri, 9 Jan 2004 17:08:41 +0100 Received: (from stolz@localhost)i09G8f8J056838; Fri, 9 Jan 2004 17:08:41 +0100 (CET) (envelope-from stolz) Message-Id: <200401091608.i09G8f8J056838@menelaos.informatik.rwth-aachen.de> Date: Fri, 9 Jan 2004 17:08:41 +0100 (CET) From: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61131: [patch] devel/splint: Backport __func__-patch from CVS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Volker Stolz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 16:10:28 -0000 >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: