svn commit: r461171 - in head/print/tex-luatex: . files

Kurt Jaeger pi at FreeBSD.org
Wed Feb 7 19:10:50 UTC 2018


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 at walstatt.org>
  Approved by:	hrs (maintainer timeout)
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld at 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:


More information about the svn-ports-all mailing list