From 2f4ec3f3e2eb9f65b795c9de5afd8b03e88c2326 Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Thu, 17 Jan 2002 20:57:53 +0000 Subject: [PATCH] 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. --- print/ghostscript-gnu/Makefile | 7 ++----- print/ghostscript-gnu/distinfo | 2 +- print/ghostscript7/Makefile | 7 ++----- print/ghostscript7/distinfo | 2 +- 4 files changed, 6 insertions(+), 12 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 ||g' diff --git a/print/ghostscript-gnu/distinfo b/print/ghostscript-gnu/distinfo index 670d6c2eb68e..b497370e0b29 100644 --- a/print/ghostscript-gnu/distinfo +++ b/print/ghostscript-gnu/distinfo @@ -7,4 +7,4 @@ MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6 MD5 (ghostscript/gdevdj9.c.gz) = f09ef883b8ba837fb42c608c01af7375 MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6 -MD5 (ghostscript/hpijs-1.0.tar.gz) = 9ec7d86d2cc2dd613f8829891b02104b +MD5 (ghostscript/hpijs-1.0.1.tar.gz) = 4ac76910a69eb781e35c8eca31db6008 diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index 5d7a4d592c68..36ce7d42ddfe 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/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 ||g' diff --git a/print/ghostscript7/distinfo b/print/ghostscript7/distinfo index 670d6c2eb68e..b497370e0b29 100644 --- a/print/ghostscript7/distinfo +++ b/print/ghostscript7/distinfo @@ -7,4 +7,4 @@ MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6 MD5 (ghostscript/gdevdj9.c.gz) = f09ef883b8ba837fb42c608c01af7375 MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6 -MD5 (ghostscript/hpijs-1.0.tar.gz) = 9ec7d86d2cc2dd613f8829891b02104b +MD5 (ghostscript/hpijs-1.0.1.tar.gz) = 4ac76910a69eb781e35c8eca31db6008