Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 13:27:06 +0200 (CEST)
From:      fritz.heinrichmeyer@fernuni-hagen.de
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/58064: Update port graphics/pstoedit to compile with gcc-3.3.1
Message-ID:  <20031015112706.A6A2717104@jfh00.fernuni-hagen.de>
Resent-Message-ID: <200310151130.h9FBUJlx096772@freefall.freebsd.org>

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

>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@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:



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