summaryrefslogtreecommitdiff
path: root/print/evince
diff options
context:
space:
mode:
authordrochner <drochner>2012-01-16 12:42:56 +0000
committerdrochner <drochner>2012-01-16 12:42:56 +0000
commitb4b486ac5f84187515a9154ee78b25b29af6e8fa (patch)
treed67f4fbd891677d3eeb50b250e01ba502a9bdb1b /print/evince
parent06301926422be8ec0bf65ac3cea2e980c3190029 (diff)
downloadpkgsrc-b4b486ac5f84187515a9154ee78b25b29af6e8fa.tar.gz
fix an off-by-one in an earlier fix, from gnome bug #643882
Diffstat (limited to 'print/evince')
-rw-r--r--print/evince/Makefile4
-rw-r--r--print/evince/distinfo4
-rw-r--r--print/evince/patches/patch-ba6
3 files changed, 7 insertions, 7 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile
index c990caa54c5..7959da24529 100644
--- a/print/evince/Makefile
+++ b/print/evince/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.75 2012/01/14 07:44:34 obache Exp $
+# $NetBSD: Makefile,v 1.76 2012/01/16 12:42:56 drochner Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../print/evince/Makefile.common"
-PKGREVISION= 7
+PKGREVISION= 8
COMMENT= Document viewer
diff --git a/print/evince/distinfo b/print/evince/distinfo
index 126697d8b2a..359360e2f19 100644
--- a/print/evince/distinfo
+++ b/print/evince/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.33 2011/02/19 14:42:21 drochner Exp $
+$NetBSD: distinfo,v 1.34 2012/01/16 12:42:56 drochner Exp $
SHA1 (evince-2.32.0.tar.bz2) = 2f06a2b9dfd8667f4b4c6e90be3c49f6fe026fc8
RMD160 (evince-2.32.0.tar.bz2) = a2d52685ac119b70cf40f320de457b3dfbac2587
Size (evince-2.32.0.tar.bz2) = 2295272 bytes
SHA1 (patch-aa) = e42418b7431329767e95d81bf7493b5e3a85cc8b
-SHA1 (patch-ba) = 6d2dfc1cdba6a4ea205cdb34422636d87d10d835
+SHA1 (patch-ba) = 47419b8dd4b3347e84ffa8d57eae8ee471cc8948
SHA1 (patch-bb) = e4ef54ccb32414e335110167b4bc0363969aa612
SHA1 (patch-bc) = 36bcaf9ecb6ac88f18272926b8fbb410f981edd9
SHA1 (patch-bd) = 0922d241c81a9f4bb1c7056e97921299a9705160
diff --git a/print/evince/patches/patch-ba b/print/evince/patches/patch-ba
index 33f1c5b12ca..8ea0a420672 100644
--- a/print/evince/patches/patch-ba
+++ b/print/evince/patches/patch-ba
@@ -1,4 +1,4 @@
-$NetBSD: patch-ba,v 1.2 2011/02/19 14:42:21 drochner Exp $
+$NetBSD: patch-ba,v 1.3 2012/01/16 12:42:56 drochner Exp $
--- backend/dvi/mdvi-lib/afmparse.c.orig 2009-04-24 07:24:16.000000000 +0000
+++ backend/dvi/mdvi-lib/afmparse.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ba,v 1.2 2011/02/19 14:42:21 drochner Exp $
idx = 0;
while (ch != EOF && ch != ' ' && ch != lineterm
- && ch != '\t' && ch != ':' && ch != ';')
-+ && ch != '\t' && ch != ':' && ch != ';' && idx < MAX_NAME)
++ && ch != '\t' && ch != ':' && ch != ';' && idx < (MAX_NAME - 1))
{
ident[idx++] = ch;
ch = fgetc(stream);
@@ -16,7 +16,7 @@ $NetBSD: patch-ba,v 1.2 2011/02/19 14:42:21 drochner Exp $
idx = 0;
- while (ch != EOF && ch != lineterm)
-+ while (ch != EOF && ch != lineterm && idx < MAX_NAME)
++ while (ch != EOF && ch != lineterm && idx < (MAX_NAME - 1))
{
ident[idx++] = ch;
ch = fgetc(stream);