Date: Wed, 7 Feb 2018 19:10:49 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461171 - in head/print/tex-luatex: . files Message-ID: <201802071910.w17JAnSF065823@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Wed Feb 7 19:10:49 2018 New Revision: 461171 URL: https://svnweb.freebsd.org/changeset/ports/461171 Log: 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> Added: head/print/tex-luatex/files/patch-pdftoepdf.w (contents, props changed) Modified: head/print/tex-luatex/Makefile Modified: head/print/tex-luatex/Makefile ============================================================================== --- head/print/tex-luatex/Makefile Wed Feb 7 19:06:39 2018 (r461170) +++ head/print/tex-luatex/Makefile Wed Feb 7 19:10:49 2018 (r461171) @@ -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- Added: head/print/tex-luatex/files/patch-pdftoepdf.w ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/tex-luatex/files/patch-pdftoepdf.w Wed Feb 7 19:10:49 2018 (r461171) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802071910.w17JAnSF065823>