From nobody@FreeBSD.org  Fri Dec 15 01:37:48 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 764E716A4B3
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Dec 2006 01:37:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B03BE4407D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Dec 2006 01:26:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBF1Rf04094134
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Dec 2006 01:27:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBF1RfrT094133;
	Fri, 15 Dec 2006 01:27:41 GMT
	(envelope-from nobody)
Message-Id: <200612150127.kBF1RfrT094133@www.freebsd.org>
Date: Fri, 15 Dec 2006 01:27:41 GMT
From: Rene Ladan<r.c.ladan@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER] lang/bf2c: fix build with GCC 4.x
X-Send-Pr-Version: www-3.0

>Number:         106749
>Category:       ports
>Synopsis:       [MAINTAINER] lang/bf2c: fix build with GCC 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 15 01:40:16 GMT 2006
>Closed-Date:    Fri Dec 15 02:14:38 GMT 2006
>Last-Modified:  Fri Dec 15 02:20:11 GMT 2006
>Originator:     Rene Ladan
>Release:        7.0 CURRENT i386
>Organization:
>Environment:
FreeBSD s000655.campus.tue.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #21: Sun Dec 10 18:53:04 CET 2006
>Description:
Patch the Makefile inside the distfile to leave out the -Werror compiler option.
This 'fixes' new warnings about classes with virtual methods not having a virtual destructor.

Added files:
- files/patch-Makefile.diff
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/lang/bf2c/files/patch-Makefile.diff /usr/home/rene/freebsd/ports/bf2c/files/patch-Makefile.diff
--- /usr/ports/lang/bf2c/files/patch-Makefile.diff	Thu Jan  1 01:00:00 1970
+++ /usr/home/rene/freebsd/ports/bf2c/files/patch-Makefile.diff	Fri Dec 15 02:13:46 2006
@@ -0,0 +1,10 @@
+--- Makefile.orig	Fri Dec 15 02:13:08 2006
++++ Makefile	Fri Dec 15 02:13:23 2006
+@@ -1,6 +1,6 @@
+ #$Id: Makefile,v 1.3 2003/08/21 17:48:30 rene0 Exp $
+ 
+-CC=g++ -Wall -g -pipe -Werror
++CC=g++ -Wall -g -pipe
+ 
+ sources:=parsetree.cc token.cc tree.cc
+ objects:=$(patsubst %.cc,%.o,$(sources))


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 15 01:46:50 UTC 2006 
Responsible-Changed-Why:  
shaun@ wants to have sparc64 and 4.x PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106749 
State-Changed-From-To: open->closed 
State-Changed-By: shaun 
State-Changed-When: Fri Dec 15 02:13:28 UTC 2006 
State-Changed-Why:  
I committed a slightly different fix, which also makes the port respect 
${CXX} and ${CXXFLAGS}. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106749 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106749: commit references a PR
Date: Fri, 15 Dec 2006 02:13:03 +0000 (UTC)

 shaun       2006-12-15 02:12:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/bf2c            Makefile 
   Log:
   - Fix build with GCC 4.x (by switching off -Werror). [1]
   - Respect CXX and CXXFLAGS.
   
   PR:             ports/106749 [1]
   Submitted by:   Rene Ladan <r.c.ladan@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.7       +4 -0      ports/lang/bf2c/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
