summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2007-09-02 15:21:03 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2007-09-02 15:21:03 +0000
commit6b7940625ea96a75d79a0741bea492eee90bf4a0 (patch)
tree37d933407ee42fd42cc1541f8298d5eb9b5e6470
parentFix wrong configure options. (diff)
Fix misprints some documents on LP64 archs.
PR: ports/112665 Submitted by: naddy
Notes
Notes: svn path=/head/; revision=198653
-rw-r--r--graphics/xpdf/Makefile2
-rw-r--r--graphics/xpdf/files/patch-xpdf_Stream.cc18
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index fc69d42d82ae..79855b40d969 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xpdf
PORTVERSION= 3.02
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_TEX_CTAN}
diff --git a/graphics/xpdf/files/patch-xpdf_Stream.cc b/graphics/xpdf/files/patch-xpdf_Stream.cc
new file mode 100644
index 000000000000..0804c26b55bc
--- /dev/null
+++ b/graphics/xpdf/files/patch-xpdf_Stream.cc
@@ -0,0 +1,18 @@
+--- xpdf/Stream.cc.orig 2007-09-03 00:17:03.000000000 +0900
++++ xpdf/Stream.cc 2007-09-03 00:17:45.000000000 +0900
+@@ -4479,6 +4479,7 @@
+ n = 3;
+ t = (c0 << 24) | (c1 << 16) | (c2 << 8);
+ }
++ t &= 0xffffffff;
+ for (i = 4; i >= 0; --i) {
+ buf1[i] = (char)(t % 85 + 0x21);
+ t /= 85;
+@@ -4496,6 +4497,7 @@
+ eof = gTrue;
+ } else {
+ t = (c0 << 24) | (c1 << 16) | (c2 << 8) | c3;
++ t &= 0xffffffff;
+ if (t == 0) {
+ *bufEnd++ = 'z';
+ if (++lineLen == 65) {