Update to 2.8.2.
This commit is contained in:
parent
a2f95abf79
commit
890d2a506d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125841
5 changed files with 6 additions and 43 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= ggv2
|
||||
PORTVERSION= 2.8.1
|
||||
PORTVERSION= 2.8.2
|
||||
CATEGORIES= print gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.8
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (gnome2/ggv-2.8.1.tar.bz2) = d2d9d41544541664d71cad9a97994747
|
||||
SIZE (gnome2/ggv-2.8.1.tar.bz2) = 1268785
|
||||
MD5 (gnome2/ggv-2.8.2.tar.bz2) = df70c424c4682ff679c84af9849b2043
|
||||
SIZE (gnome2/ggv-2.8.2.tar.bz2) = 1270192
|
||||
|
|
Loading…
Reference in a new issue