aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/Makefile
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2002-01-18 04:57:53 +0800
committerandreas <andreas@FreeBSD.org>2002-01-18 04:57:53 +0800
commit0e09bf228f7a0d76c93fb9375765ca5bef8647a5 (patch)
treeda7db46204062d48b718d71a02f6595a177d0715 /print/ghostscript-gnu/Makefile
parent501d3f99b8bf31912456a66b44698bdc27459698 (diff)
downloadfreebsd-ports-gnome-0e09bf228f7a0d76c93fb9375765ca5bef8647a5.tar.gz
freebsd-ports-gnome-0e09bf228f7a0d76c93fb9375765ca5bef8647a5.tar.zst
freebsd-ports-gnome-0e09bf228f7a0d76c93fb9375765ca5bef8647a5.zip
Update HPIJS package from 1.0 to 1.0.1.
HP fixed "off-by-one error" in the HPIJS sources, that caused hpijs to core dump at runtime, when being compiled with -O or -O2. I confirmed, that everything works perfectly again with -O and -O2. Bumped port revision, to flag this as an important change. Thanks to David Suffield from HP who took our (and others) reports seriously, fixed the bug and released the new HPIJS version.
Diffstat (limited to 'print/ghostscript-gnu/Makefile')
-rw-r--r--print/ghostscript-gnu/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index 5d7a4d592c68..36ce7d42ddfe 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript
PORTVERSION= 6.52
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU} \
${MASTER_SITE_SOURCEFORGE} \
@@ -108,7 +108,7 @@ GPRINT_SRC= ${GPRINT_NAME}.tar.gz
# HPinkjet - HP developed printer driver for PhotoSmart/DeskJet series
# http://hpinkjet.sourceforge.net/
HPIJS= hpijs
-HPIJS_VERS= 1.0
+HPIJS_VERS= 1.0.1
HPIJS_NAME= ${HPIJS}-${HPIJS_VERS}
HPIJS_SRC= ${HPIJS_NAME}.tar.gz
@@ -165,9 +165,6 @@ post-patch:
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
${WRKSRC}/src/unix-gcc.mak
# for HPinkjet driver
- ${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'