mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix misprints some documents on LP64 archs.
PR: ports/112665 Submitted by: naddy
This commit is contained in:
parent
3e8e71d2ba
commit
6b7940625e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198653
2 changed files with 19 additions and 1 deletions
|
@ -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}
|
||||
|
|
18
graphics/xpdf/files/patch-xpdf_Stream.cc
Normal file
18
graphics/xpdf/files/patch-xpdf_Stream.cc
Normal file
|
@ -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) {
|
Loading…
Add table
Reference in a new issue