From ad83bdd8a80d86753afb3fbfe99afa68293a651f Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 25 Aug 2007 14:42:37 +0000 Subject: [PATCH] fix ASCII85 encoding on LP64 archs --- textproc/xpdf/Makefile | 4 ++-- textproc/xpdf/patches/patch-xpdf_Stream_cc | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 textproc/xpdf/patches/patch-xpdf_Stream_cc diff --git a/textproc/xpdf/Makefile b/textproc/xpdf/Makefile index c60b4551ce5..c867103d04b 100644 --- a/textproc/xpdf/Makefile +++ b/textproc/xpdf/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.55 2007/07/31 21:22:16 naddy Exp $ +# $OpenBSD: Makefile,v 1.56 2007/08/25 14:42:37 naddy Exp $ COMMENT= PDF viewer for X11 DISTNAME= xpdf-3.02 -PKGNAME= xpdf-3.02pl1 +PKGNAME= xpdf-3.02pl1p0 CATEGORIES= textproc x11 MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ diff --git a/textproc/xpdf/patches/patch-xpdf_Stream_cc b/textproc/xpdf/patches/patch-xpdf_Stream_cc new file mode 100644 index 00000000000..9ea5d75c4ad --- /dev/null +++ b/textproc/xpdf/patches/patch-xpdf_Stream_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-xpdf_Stream_cc,v 1.3 2007/08/25 14:42:38 naddy Exp $ +--- xpdf/Stream.cc.orig Fri Aug 17 00:55:46 2007 ++++ xpdf/Stream.cc Fri Aug 17 00:56:21 2007 +@@ -4451,7 +4451,7 @@ void ASCII85Encoder::reset() { + } + + GBool ASCII85Encoder::fillBuf() { +- Gulong t; ++ Guint t; + char buf1[5]; + int c0, c1, c2, c3; + int n, i;