Mon Aug 21 11:14:26 2017 UTC ()
Improve patch comment, requested by joerg.


(jperkin)
diff -r1.25 -r1.26 pkgsrc/print/luatex/distinfo
diff -r1.1 -r1.2 pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w

cvs diff -r1.25 -r1.26 pkgsrc/print/luatex/distinfo (expand / switch to unified diff)

--- pkgsrc/print/luatex/distinfo 2017/08/21 10:15:21 1.25
+++ pkgsrc/print/luatex/distinfo 2017/08/21 11:14:26 1.26
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1$NetBSD: distinfo,v 1.25 2017/08/21 10:15:21 jperkin Exp $ 1$NetBSD: distinfo,v 1.26 2017/08/21 11:14:26 jperkin Exp $
2 2
3SHA1 (texlive-20170524-source.tar.xz) = 1c1383ddb1b871c6b8ce49a4ae3c1a33d454a7b6 3SHA1 (texlive-20170524-source.tar.xz) = 1c1383ddb1b871c6b8ce49a4ae3c1a33d454a7b6
4RMD160 (texlive-20170524-source.tar.xz) = a8430c19fe1727cf308fe03e5838105260c0d71e 4RMD160 (texlive-20170524-source.tar.xz) = a8430c19fe1727cf308fe03e5838105260c0d71e
5SHA512 (texlive-20170524-source.tar.xz) = 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa 5SHA512 (texlive-20170524-source.tar.xz) = 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa
6Size (texlive-20170524-source.tar.xz) = 63483372 bytes 6Size (texlive-20170524-source.tar.xz) = 63483372 bytes
7SHA1 (patch-ac) = 1ee83833a03eace2eada892130ddb2198e829f3d 7SHA1 (patch-ac) = 1ee83833a03eace2eada892130ddb2198e829f3d
8SHA1 (patch-libs_luajit_LuaJIT-src_src_host_buildvm__asm.c) = 34fa742ed696f97df637c5086bf1faf3d718cb69 8SHA1 (patch-libs_luajit_LuaJIT-src_src_host_buildvm__asm.c) = 34fa742ed696f97df637c5086bf1faf3d718cb69
9SHA1 (patch-libs_luajit_LuaJIT-src_src_vm__x86.dasc) = 491d33adbbaab8b2b81a65a8d7ba30aee775b75f 9SHA1 (patch-libs_luajit_LuaJIT-src_src_vm__x86.dasc) = 491d33adbbaab8b2b81a65a8d7ba30aee775b75f
10SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = 6f1e5586aa013dc819a715467ef4a120099915b3 10SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = 9f7563e5d3011c183092c9eb157560f912113d77

cvs diff -r1.1 -r1.2 pkgsrc/print/luatex/patches/Attic/patch-texk_web2c_luatexdir_image_pdftoepdf.w (expand / switch to unified diff)

--- pkgsrc/print/luatex/patches/Attic/patch-texk_web2c_luatexdir_image_pdftoepdf.w 2017/08/21 10:15:22 1.1
+++ pkgsrc/print/luatex/patches/Attic/patch-texk_web2c_luatexdir_image_pdftoepdf.w 2017/08/21 11:14:26 1.2
@@ -1,16 +1,18 @@ @@ -1,16 +1,18 @@
1$NetBSD: patch-texk_web2c_luatexdir_image_pdftoepdf.w,v 1.1 2017/08/21 10:15:22 jperkin Exp $ 1$NetBSD: patch-texk_web2c_luatexdir_image_pdftoepdf.w,v 1.2 2017/08/21 11:14:26 jperkin Exp $
2 2
3Avoid -Wreserved-user-defined-literal failures by using newlines. 3The ctangle tex-to-C generator strips whitespace, resulting in "C++11 requires
 4a space between literal and identifier" failures. Pull in hacky patch from
 5Gentoo which avoids this problem by using newlines.
4 6
5--- texk/web2c/luatexdir/image/pdftoepdf.w.orig 2016-11-25 18:09:14.000000000 +0000 7--- texk/web2c/luatexdir/image/pdftoepdf.w.orig 2016-11-25 18:09:14.000000000 +0000
6+++ texk/web2c/luatexdir/image/pdftoepdf.w 8+++ texk/web2c/luatexdir/image/pdftoepdf.w
7@@ -71,7 +71,11 @@ static char *get_file_checksum(const cha 9@@ -71,7 +71,11 @@ static char *get_file_checksum(const cha
8 ck = (char *) malloc(PDF_CHECKSUM_SIZE); 10 ck = (char *) malloc(PDF_CHECKSUM_SIZE);
9 if (ck == NULL) 11 if (ck == NULL)
10 formatted_error("pdf inclusion","out of memory while processing '%s'", a); 12 formatted_error("pdf inclusion","out of memory while processing '%s'", a);
11- snprintf(ck, PDF_CHECKSUM_SIZE, "%" PRIu64 "_%" PRIu64, (uint64_t) size,(uint64_t) mtime); 13- snprintf(ck, PDF_CHECKSUM_SIZE, "%" PRIu64 "_%" PRIu64, (uint64_t) size,(uint64_t) mtime);
12+ snprintf(ck, PDF_CHECKSUM_SIZE, "%" 14+ snprintf(ck, PDF_CHECKSUM_SIZE, "%"
13+PRIu64 15+PRIu64
14+"_%" 16+"_%"
15+PRIu64 17+PRIu64
16+, (uint64_t) size,(uint64_t) mtime); 18+, (uint64_t) size,(uint64_t) mtime);