chiark / gitweb /
Properly package texlive and split package into texlive & texlive-bin (#1203)
[termux-packages] / packages / texlive-bin / c++11.patch
diff --git a/packages/texlive-bin/c++11.patch b/packages/texlive-bin/c++11.patch
new file mode 100644 (file)
index 0000000..05b4cf0
--- /dev/null
@@ -0,0 +1,17 @@
+diff -u -r ../texlive-20160523-source/texk/web2c/luatexdir/image/pdftoepdf.w ./texk/web2c/luatexdir/image/pdftoepdf.w
+--- ../texlive-20160523-source/texk/web2c/luatexdir/image/pdftoepdf.w  2016-03-25 12:44:48.000000000 +0000
++++ ./texk/web2c/luatexdir/image/pdftoepdf.w   2017-04-21 23:48:03.787934684 +0000
+@@ -71,7 +72,12 @@
+         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: