1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/print/tex-luatex/files/patch-pdftoepdf.w
Kurt Jaeger 0669bafe6b 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>
2018-02-07 19:10:49 +00:00

20 lines
704 B
OpenEdge ABL

--- 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: