Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 01:27:41 GMT
From:      Rene Ladan<r.c.ladan@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/106749: [MAINTAINER] lang/bf2c: fix build with GCC 4.x
Message-ID:  <200612150127.kBF1RfrT094133@www.freebsd.org>
Resent-Message-ID: <200612150140.kBF1eGnG056702@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106749
>Category:       ports
>Synopsis:       [MAINTAINER] lang/bf2c: fix build with GCC 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 15 01:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612150127.kBF1RfrT094133>