Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 20:52:33 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33566: Update port: print/ghostscript-gnu
Message-ID:  <200201050452.g054qXD34278@freefall.freebsd.org>

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

>Number:         33566
>Category:       ports
>Synopsis:       Update port: print/ghostscript-gnu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 21:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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