ports/58064: Update port graphics/pstoedit to compile with gcc-3.3.1

fritz.heinrichmeyer at fernuni-hagen.de fritz.heinrichmeyer at fernuni-hagen.de
Wed Oct 15 11:30:23 UTC 2003


>Number:         58064
>Category:       ports
>Synopsis:       Update port graphics/pstoedit to compile with gcc-3.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 15 04:30:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Fritz Heinrichmeyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Fernuni Hagen
>Environment:
System: FreeBSD jfh00.fernuni-hagen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Oct 14 09:22:50 CEST 2003 root at jfh00.fernuni-hagen.de:/usr/obj/usr/src/sys/Athlon1 i386

>Description:
	graphics/pstoedit does not compile with -pedantic under gcc-3.3.1
>How-To-Repeat:
	try to build port under current or with gcc-3.3.1 installed
>Fix:

	apply this patch (switch off -pedantic):

diff -uNr pstoedit.orig/files/patch-configure pstoedit/files/patch-configure
--- pstoedit.orig/files/patch-configure	Mon Feb  3 07:59:30 2003
+++ pstoedit/files/patch-configure	Wed Oct 15 09:05:15 2003
@@ -1,8 +1,7 @@
+$Header$
 
-$FreeBSD: ports/graphics/pstoedit/files/patch-configure,v 1.2 2003/02/02 13:27:24 nork Exp $
-
---- configure.orig	Tue Jan  7 06:21:27 2003
-+++ configure	Sat Jan 18 13:25:14 2003
+--- configure.orig	Mon Jan  6 22:21:27 2003
++++ configure	Wed Oct 15 08:57:22 2003
 @@ -17286,6 +17286,7 @@
  
  # This can be used to rebuild libtool when needed
@@ -11,9 +10,12 @@
  
  # Always use our own libtool.
  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -18852,16 +18853,15 @@
+@@ -18850,18 +18851,17 @@
+   else
+     echo "$as_me:$LINENO: result: GNU" >&5
  echo "${ECHO_T}GNU" >&6
-     SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes"
+-    SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes"
++    SPECIAL_CXXFLAGS="-DBUGGYGPP  -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes"
    fi
 -  CXXFLAGS="-g"
  elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list