print/tex-luatex: fix build with C++11 compilers on CURRENT
PR: 225448 Reported by: O.Hartmann <ohartmann@walstatt.org> Approved by: hrs (maintainer timeout) Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
parent
0462a35b77
commit
0669bafe6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461171
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= luatex
|
||||
PORTVERSION= 0.80.0
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
|
||||
PKGNAMEPREFIX= tex-
|
||||
|
19
print/tex-luatex/files/patch-pdftoepdf.w
Normal file
19
print/tex-luatex/files/patch-pdftoepdf.w
Normal file
@ -0,0 +1,19 @@
|
||||
--- luatexdir/image/pdftoepdf.w.orig 2018-01-31 15:17:41 UTC
|
||||
+++ luatexdir/image/pdftoepdf.w
|
||||
@@ -70,8 +70,14 @@ static char *get_file_checksum(char *a,
|
||||
if (ck == NULL)
|
||||
luatex_fail("PDF inclusion: out of memory while processing '%s'",
|
||||
a);
|
||||
- snprintf(ck, PDF_CHECKSUM_SIZE, "%" PRIu64 "_%" PRIu64, (uint64_t) size,
|
||||
- (uint64_t) mtime);
|
||||
+ // snprintf(ck, PDF_CHECKSUM_SIZE, "%" PRIu64 "_%" PRIu64, (uint64_t) size,
|
||||
+ // (uint64_t) mtime);
|
||||
+ snprintf(ck, PDF_CHECKSUM_SIZE, "%"
|
||||
+ PRIu64
|
||||
+ "_%"
|
||||
+ PRIu64,
|
||||
+ (uint64_t) size,
|
||||
+ (uint64_t) mtime);
|
||||
} else {
|
||||
switch (fe) {
|
||||
case FE_FAIL:
|
Loading…
Reference in New Issue
Block a user