pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/luatex



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Aug 21 10:15:22 UTC 2017

Modified Files:
        pkgsrc/print/luatex: distinfo
Added Files:
        pkgsrc/print/luatex/patches:
            patch-texk_web2c_luatexdir_image_pdftoepdf.w

Log Message:
Fix -Wreserved-user-defined-literal failure using patch from Gentoo.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/print/luatex/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/luatex/distinfo
diff -u pkgsrc/print/luatex/distinfo:1.24 pkgsrc/print/luatex/distinfo:1.25
--- pkgsrc/print/luatex/distinfo:1.24   Tue Jun 20 20:50:50 2017
+++ pkgsrc/print/luatex/distinfo        Mon Aug 21 10:15:21 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2017/06/20 20:50:50 markd Exp $
+$NetBSD: distinfo,v 1.25 2017/08/21 10:15:21 jperkin Exp $
 
 SHA1 (texlive-20170524-source.tar.xz) = 1c1383ddb1b871c6b8ce49a4ae3c1a33d454a7b6
 RMD160 (texlive-20170524-source.tar.xz) = a8430c19fe1727cf308fe03e5838105260c0d71e
@@ -7,3 +7,4 @@ Size (texlive-20170524-source.tar.xz) = 
 SHA1 (patch-ac) = 1ee83833a03eace2eada892130ddb2198e829f3d
 SHA1 (patch-libs_luajit_LuaJIT-src_src_host_buildvm__asm.c) = 34fa742ed696f97df637c5086bf1faf3d718cb69
 SHA1 (patch-libs_luajit_LuaJIT-src_src_vm__x86.dasc) = 491d33adbbaab8b2b81a65a8d7ba30aee775b75f
+SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = 6f1e5586aa013dc819a715467ef4a120099915b3

Added files:

Index: pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w
diff -u /dev/null pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w:1.1
--- /dev/null   Mon Aug 21 10:15:22 2017
+++ pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w    Mon Aug 21 10:15:22 2017
@@ -0,0 +1,19 @@
+$NetBSD: patch-texk_web2c_luatexdir_image_pdftoepdf.w,v 1.1 2017/08/21 10:15:22 jperkin Exp $
+
+Avoid -Wreserved-user-defined-literal failures by using newlines.
+
+--- texk/web2c/luatexdir/image/pdftoepdf.w.orig        2016-11-25 18:09:14.000000000 +0000
++++ texk/web2c/luatexdir/image/pdftoepdf.w
+@@ -71,7 +71,11 @@ static char *get_file_checksum(const cha
+         ck = (char *) malloc(PDF_CHECKSUM_SIZE);
+         if (ck == NULL)
+             formatted_error("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);
+    } else {
+         switch (fe) {
+             case FE_FAIL:



Home | Main Index | Thread Index | Old Index