From owner-svn-ports-head@freebsd.org Wed Feb 7 19:10:50 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 469F3F1E0CE; Wed, 7 Feb 2018 19:10:50 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE7F2798AD; Wed, 7 Feb 2018 19:10:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E956F2F36; Wed, 7 Feb 2018 19:10:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w17JAnuQ065825; Wed, 7 Feb 2018 19:10:49 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w17JAnSF065823; Wed, 7 Feb 2018 19:10:49 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201802071910.w17JAnSF065823@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Wed, 7 Feb 2018 19:10:49 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/print/tex-luatex: . files X-SVN-Commit-Revision: 461171 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 19:10:50 -0000 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 Approved by: hrs (maintainer timeout) Submitted by: Walter Schwarzenfeld 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: