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.
This commit is contained in:
parent
66d05f4541
commit
f37e7a8652
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53268
6 changed files with 9 additions and 18 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 7.03
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://members.ozemail.com.au/~geoffk/pdfencrypt/ \
|
||||
|
@ -111,7 +111,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
|
||||
|
||||
|
@ -170,9 +170,6 @@ post-patch:
|
|||
${PERL} -pi -e 's|\. de|\.|g' \
|
||||
${WRKSRC}/src/unixinst.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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 7.03
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://members.ozemail.com.au/~geoffk/pdfencrypt/ \
|
||||
|
@ -111,7 +111,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
|
||||
|
||||
|
@ -170,9 +170,6 @@ post-patch:
|
|||
${PERL} -pi -e 's|\. de|\.|g' \
|
||||
${WRKSRC}/src/unixinst.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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 7.03
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://members.ozemail.com.au/~geoffk/pdfencrypt/ \
|
||||
|
@ -111,7 +111,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
|
||||
|
||||
|
@ -170,9 +170,6 @@ post-patch:
|
|||
${PERL} -pi -e 's|\. de|\.|g' \
|
||||
${WRKSRC}/src/unixinst.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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue