diff options
author | adamw <adamw@FreeBSD.org> | 2005-01-09 01:33:18 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2005-01-09 01:33:18 +0800 |
commit | b09a8fcb11392597c7640420dc4d9696799c78b9 (patch) | |
tree | 2ff71c4386a84988bd4388c09ceb5344108bb763 /graphics | |
parent | 134a7632c59667480e4bce544cd77421cf2f763d (diff) | |
download | freebsd-ports-gnome-b09a8fcb11392597c7640420dc4d9696799c78b9.tar.gz freebsd-ports-gnome-b09a8fcb11392597c7640420dc4d9696799c78b9.tar.zst freebsd-ports-gnome-b09a8fcb11392597c7640420dc4d9696799c78b9.zip |
Update to 2.8.2.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gpdf/Makefile | 3 | ||||
-rw-r--r-- | graphics/gpdf/distinfo | 4 | ||||
-rw-r--r-- | graphics/gpdf/files/patch-xpdf_gpdf-glx.cc | 36 |
3 files changed, 3 insertions, 40 deletions
diff --git a/graphics/gpdf/Makefile b/graphics/gpdf/Makefile index 5a62dc913300..2a37b5ce9d03 100644 --- a/graphics/gpdf/Makefile +++ b/graphics/gpdf/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gpdf -PORTVERSION= 2.8.1 -PORTREVISION= 1 +PORTVERSION= 2.8.2 CATEGORIES= graphics print gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.8 diff --git a/graphics/gpdf/distinfo b/graphics/gpdf/distinfo index 5841659fcd69..ad7d88ba7674 100644 --- a/graphics/gpdf/distinfo +++ b/graphics/gpdf/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/gpdf-2.8.1.tar.bz2) = 6248d2f0028ea4046250a5f8693e8c1e -SIZE (gnome2/gpdf-2.8.1.tar.bz2) = 1053030 +MD5 (gnome2/gpdf-2.8.2.tar.bz2) = d7d87c097aa0e5fbb9a7cf2d039db609 +SIZE (gnome2/gpdf-2.8.2.tar.bz2) = 1054896 diff --git a/graphics/gpdf/files/patch-xpdf_gpdf-glx.cc b/graphics/gpdf/files/patch-xpdf_gpdf-glx.cc deleted file mode 100644 index b7fc74eacb15..000000000000 --- a/graphics/gpdf/files/patch-xpdf_gpdf-glx.cc +++ /dev/null @@ -1,36 +0,0 @@ ---- xpdf/Gfx.cc Mon May 17 21:37:57 2004 -+++ xpdf/Gfx.cc Fri Dec 24 17:01:42 2004 -@@ -2654,7 +2654,9 @@ - haveMask = gFalse; - dict->lookup("Mask", &maskObj); - if (maskObj.isArray()) { -- for (i = 0; i < maskObj.arrayGetLength(); ++i) { -+ for (i = 0; -+ i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps; -+ ++i) { - maskObj.arrayGet(i, &obj1); - maskColors[i] = obj1.getInt(); - obj1.free(); ---- xpdf/GfxState.cc Mon May 17 21:37:57 2004 -+++ xpdf/GfxState.cc Fri Dec 24 17:01:42 2004 -@@ -714,6 +714,11 @@ - } - nCompsA = obj2.getInt(); - obj2.free(); -+ if (nCompsA > gfxColorMaxComps) { -+ error(-1, "ICCBased color space with too many (%d > %d) components", -+ nCompsA, gfxColorMaxComps); -+ nCompsA = gfxColorMaxComps; -+ } - if (dict->lookup("Alternate", &obj2)->isNull() || - !(altA = GfxColorSpace::parse(&obj2))) { - switch (nCompsA) { -@@ -1060,7 +1065,7 @@ - } - nCompsA = obj1.arrayGetLength(); - if (nCompsA > gfxColorMaxComps) { -- error(-1, "DeviceN color space with more than %d > %d components", -+ error(-1, "DeviceN color space with too many (%d > %d) components", - nCompsA, gfxColorMaxComps); - nCompsA = gfxColorMaxComps; - } |