ports/110568: [dns/totd] Remove -Werror - fixes GCC 4.x
Ed Schouten
ed at fxq.nl
Tue Mar 20 06:50:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list