Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 07:46:45 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110568: [dns/totd] Remove -Werror - fixes GCC 4.x
Message-ID:  <20070320064645.54B881CCCB@palm.hoeg.nl>
Resent-Message-ID: <200703200650.l2K6o2v1030983@freefall.freebsd.org>

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

>Number:         110568
>Category:       ports
>Synopsis:       [dns/totd] Remove -Werror - fixes 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:   Tue Mar 20 06:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Feb 11 22:32:09 CET 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
Totd doesn't compile with GCC 4.x without removing -Werror, because of
some pointer signedness issues across big parts of the code. Just remove
-Werror for now.
>How-To-Repeat:
>Fix:
Add the following file to the `files/' directory:

%%%
--- Makefile.in	Tue Mar 20 07:13:19 2007
+++ Makefile.in	Tue Mar 20 07:14:28 2007
@@ -18,7 +18,7 @@
 
 INSTALL = /usr/bin/install
 
-CFLAGS  = @CFLAGS@ @DEFS@  -Werror -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
+CFLAGS  = @CFLAGS@ @DEFS@  -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
 
 # When debugging is enabled by --enable-malloc-debug flag to the configure
 # script, the @DBMALLOC@ substitution will contain the empty string, thus
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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