From owner-freebsd-ports Mon Mar 11 21:20: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 594F237B41A for ; Mon, 11 Mar 2002 21:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2C5K1618878; Mon, 11 Mar 2002 21:20:01 -0800 (PST) (envelope-from gnats) Received: from postoffice.aims.com.au (eth0.lnk.aims.com.au [203.31.73.253]) by hub.freebsd.org (Postfix) with ESMTP id D3C2437B41A for ; Mon, 11 Mar 2002 21:15:57 -0800 (PST) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.aims.com.au with ESMTP id g2C5FuA01910 for ; Tue, 12 Mar 2002 16:15:56 +1100 (EST) (envelope-from chris@aims.com.au) Received: from ntsts1 by aims.com.au with SMTP (MDaemon.v3.5.3.R) for ; Tue, 12 Mar 2002 16:15:17 +1100 Message-Id: <200203120511.g2C5Bq745222@ait0fd01.aims.private> Date: Tue, 12 Mar 2002 16:15:14 +1100 From: chris@aims.com.au Reply-To: To: X-Send-Pr-Version: 3.113 Subject: ports/35809: graphics/tcm build fails after bison builds cardconstraint.tab.c Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35809 >Category: ports >Synopsis: graphics/tcm build fails after bison builds cardconstraint.tab.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 21:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 4.5-RELEASE i386 >Organization: AIMS Independent Computer Professionals >Environment: System: FreeBSD ait0fd01.aims.private 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Tue Feb 19 06:44:54 EST 2002 root@:/usr/src/sys/compile/THINKPAD i386 >Description: Build of graphics/tcm fails on src/sd/dv/cardconstraint.tab.c after bison-1.33 has created it, whinging about the use of NULL. A patch to use yacc resulted in a successful build and a working tcm. >How-To-Repeat: Update ports tree cd /usr/ports/graphics/tcm make all >Fix: NB - The following patch doesn't remove the build dependency on bison, as I didn't investigate whether bison was used elsewhere in the build process. Index: files/patch-Config.tmpl =================================================================== RCS file: /home/ncvs/ports/graphics/tcm/files/patch-Config.tmpl,v retrieving revision 1.1 diff -u -r1.1 patch-Config.tmpl --- files/patch-Config.tmpl 18 Aug 2001 06:39:47 -0000 1.1 +++ files/patch-Config.tmpl 12 Mar 2002 03:49:28 -0000 @@ -12,7 +12,7 @@ +# CFLAGS += -g + +LEX = flex -+YACC = bison ++YACC = yacc + +#XWIN_HOME = /usr/X11R6 +XWIN_HOME = $(X11BASE) Index: files/patch-src::sd::dv::Makefile =================================================================== RCS file: files/patch-src::sd::dv::Makefile diff -N files/patch-src::sd::dv::Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src::sd::dv::Makefile 12 Mar 2002 04:09:00 -0000 @@ -0,0 +1,14 @@ +--- src/sd/dv/Makefile.orig Tue Mar 12 14:50:53 2002 ++++ src/sd/dv/Makefile Tue Mar 12 15:08:10 2002 +@@ -142,9 +142,9 @@ + $(MV) $@ $(BIN_DIR) + + cardconstraint.tab.h: cardconstraint.y +- $(YACC) --debug -p cardconstraint -d cardconstraint.y ++ $(YACC) -b cardconstraint -p cardconstraint -d cardconstraint.y + cardconstraint.tab.c: cardconstraint.y cardconstraint.l +- $(YACC) --debug -p cardconstraint -d cardconstraint.y ++ $(YACC) -b cardconstraint -p cardconstraint -d cardconstraint.y + cardconstraint.c: cardconstraint.l cardconstraint.tab.h + $(LEX) -Pcardconstraint -ocardconstraint.c cardconstraint.l + cardconstraint.o: cardconstraint.c >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message