From nobody@FreeBSD.org  Fri Jan  4 20:52:34 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 963CC37B41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Jan 2002 20:52:33 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g054qXD34278;
	Fri, 4 Jan 2002 20:52:33 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201050452.g054qXD34278@freefall.freebsd.org>
Date: Fri, 4 Jan 2002 20:52:33 -0800 (PST)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: print/ghostscript-gnu
X-Send-Pr-Version: www-1.0

>Number:         33566
>Category:       ports
>Synopsis:       Update port: print/ghostscript-gnu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 21:00:00 PST 2002
>Closed-Date:    Fri Jan 11 16:51:04 PST 2002
>Last-Modified:  Fri Jan 11 16:51:29 PST 2002
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Add "-O0" when building HPinkjet server
  (Server binary dumps core when compiled with optimization)
- Change WWW: line to more appropriate one

Problem reported at ports/33479 can be solved with this PR.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile
--- /usr/ports/print/ghostscript-gnu/Makefile	Fri Jan  4 18:07:47 2002
+++ print/ghostscript-gnu/Makefile	Sat Jan  5 05:45:50 2002
@@ -165,8 +165,9 @@
 	${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
 		${WRKSRC}/src/unix-gcc.mak
 # for HPinkjet driver
-	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
-		 s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
+	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
+		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
+			${WRKSRC}/${HPIJS_NAME}/configure
 	find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
 		's|#include <malloc.h>||g'
 
diff -urN /usr/ports/print/ghostscript-gnu/pkg-descr print/ghostscript-gnu/pkg-descr
--- /usr/ports/print/ghostscript-gnu/pkg-descr	Fri Sep 28 19:38:47 2001
+++ print/ghostscript-gnu/pkg-descr	Sat Jan  5 04:16:28 2002
@@ -21,4 +21,5 @@
 	  - http://hpinkjet.sourceforge.net/
 	o Additional contributed uniprint driver profiles for
 	  - Epson Stylus Color 740 and Epson LQ-1170
-WWW: http://www.gnu.org/software/ghostscript/ghostscript.html
+
+WWW: http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Fri Jan 11 16:51:04 PST 2002 
State-Changed-Why:  
Superceded by 33798 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33566 
>Unformatted:
