ports/116678: print/ifhp broken with gcc 4.2

Kevin Oberman oberman at es.net
Wed Sep 26 21:10:05 UTC 2007


>Number:         116678
>Category:       ports
>Synopsis:       print/ifhp broken with gcc 4.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 21:10:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
ESnet--The Energy Sciences Network
>Environment:
System: FreeBSD ptavv.es.net 6.2-STABLE FreeBSD 6.2-STABLE #11: Thu Aug 16 17:18:58 PDT 2007 root at ptavv.es.net:/usr/obj/usr/src/sys/PTAVV i386


	
>Description:
	
print/ifhp is marked "Broken" wiuth gcc 4.2. This is because 4.2
generates warnings of things not noticed by gcc3. None is significant
or affects program operation
>How-To-Repeat:
	cd /usr/ports/print/ifhp && make
>Fix:

--- work/ifhp-3.5.20/configure.lineno.orig      2007-09-26 13:56:07.000000000 -0700
+++ work/ifhp-3.5.20/configure.lineno   2007-09-26 13:57:58.000000000 -0700
@@ -17505,8 +17505,8 @@
 
 
 if test "$ac_cv_c_compiler_gnu" = yes; then
-       CPPFLAGS="$CPPFLAGS -g -W -Wall -Werror -Wno-unused "
-       CFLAGS="$CFLAGS -g -W -Wall -Werror -Wno-unused "
+       CPPFLAGS="$CPPFLAGS -g -W -Wall -Wno-unused "
+       CFLAGS="$CFLAGS -g -W -Wall -Wno-unused "
 fi;
 
 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile fonts/Makefile DOCS/Makefile UTILS/accounting.sh UTILS/sendhp.sh UTILS/supported UTILS/fixupdate src/extract_pjl src/wrapper po/Makefile.in"
--- work/ifhp-3.5.20/configure.in.orig  2007-09-26 13:56:00.000000000 -0700
+++ work/ifhp-3.5.20/configure.in       2007-09-26 13:57:04.000000000 -0700
@@ -1240,8 +1240,8 @@
 
 
 if test "$ac_cv_prog_gcc" = yes; then
-       CPPFLAGS="$CPPFLAGS -g -W -Wall -Werror -Wno-unused "
-       CFLAGS="$CFLAGS -g -W -Wall -Werror -Wno-unused "
+       CPPFLAGS="$CPPFLAGS -g -W -Wall -Wno-unused "
+       CFLAGS="$CFLAGS -g -W -Wall -Wno-unused "
 fi;
 
 AC_OUTPUT(
--- work/ifhp-3.5.20/configure.orig     2007-09-26 13:55:48.000000000 -0700
+++ work/ifhp-3.5.20/configure  2007-09-26 13:56:49.000000000 -0700
@@ -17505,8 +17505,8 @@
 
 
 if test "$ac_cv_c_compiler_gnu" = yes; then
-       CPPFLAGS="$CPPFLAGS -g -W -Wall -Werror -Wno-unused "
-       CFLAGS="$CFLAGS -g -W -Wall -Werror -Wno-unused "
+       CPPFLAGS="$CPPFLAGS -g -W -Wall -Wno-unused "
+       CFLAGS="$CFLAGS -g -W -Wall -Wno-unused "
 fi;
 
 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile fonts/Makefile DOCS/Makefile UTILS/accounting.sh UTILS/sendhp.sh UTILS/supported UTILS/fixupdate src/extract_pjl src/wrapper po/Makefile.in"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list