diff options
Diffstat (limited to 'Build/source/utils/m-tx/TLpatches')
-rw-r--r-- | Build/source/utils/m-tx/TLpatches/ChangeLog | 36 | ||||
-rw-r--r-- | Build/source/utils/m-tx/TLpatches/TL-Changes | 14 | ||||
-rw-r--r-- | Build/source/utils/m-tx/TLpatches/patch-01-write-bin | 27 |
3 files changed, 77 insertions, 0 deletions
diff --git a/Build/source/utils/m-tx/TLpatches/ChangeLog b/Build/source/utils/m-tx/TLpatches/ChangeLog new file mode 100644 index 00000000000..586afebe506 --- /dev/null +++ b/Build/source/utils/m-tx/TLpatches/ChangeLog @@ -0,0 +1,36 @@ +2018-04-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-01-write-bin: Update for 0.63a. + +2018-01-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-01-write-bin: Update for 0.63. + * patch-02-malloc, patch-03-different-size: Remove. + +2016-02-10 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-01-write-bin, patch-02-malloc, patch-03-different-size: + Update for 0.62. + +2015-12-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-01-write-bin, patch-02-malloc, patch-03-different-size: + Update for 0.61. + +2013-04-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-03-different-size: Avoid 'cast to pointer from integer of + different size' when sizeof(int) is less than sizeof(void *). + +2012-10-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-02-malloc (new): Check value returned by malloc(), i.e., + undo action of sed from Makefile.orig. Do not use libp2c.a. + +2012-05-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-01-write-bin (new): Use binary mode for output files. + From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX). + +Copyright (C) 2012 Peter Breitenlohner <tex-live@tug.org> +You may freely use, modify and/or distribute this file. diff --git a/Build/source/utils/m-tx/TLpatches/TL-Changes b/Build/source/utils/m-tx/TLpatches/TL-Changes new file mode 100644 index 00000000000..8247e3c8f32 --- /dev/null +++ b/Build/source/utils/m-tx/TLpatches/TL-Changes @@ -0,0 +1,14 @@ +Changes applied to the mtx-0.63a tree as obtained from: + http://www.ctan.org/tex-archive/support/m-tx/ + +Remove: + Makefile.in + aclocal.m4 + configure + depcomp + install-sh + missing + test-driver + +Move to top directory: + tests/* diff --git a/Build/source/utils/m-tx/TLpatches/patch-01-write-bin b/Build/source/utils/m-tx/TLpatches/patch-01-write-bin new file mode 100644 index 00000000000..222e43ba63e --- /dev/null +++ b/Build/source/utils/m-tx/TLpatches/patch-01-write-bin @@ -0,0 +1,27 @@ +diff -ur mtx-0.63a/files.c mtx-src/files.c +--- mtx-0.63a/files.c Tue Jan 09 01:39:42 2018 ++++ mtx-src/files.c Wed Apr 25 18:07:12 2018 +@@ -289,9 +289,9 @@ + pushFile(infilename); + strcpy(outfile_NAME, outfilename); + if (outfile != NULL) +- outfile = freopen(outfile_NAME, "w", outfile); ++ outfile = freopen(outfile_NAME, "wb", outfile); + else +- outfile = fopen(outfile_NAME, "w"); ++ outfile = fopen(outfile_NAME, "wb"); + _SETIO(outfile != NULL, FileNotFound); + strcpy(stylefile_NAME, stylefilename); + if (stylefile != NULL) +diff -ur mtx-0.63a/globals.c mtx-src/globals.c +--- mtx-0.63a/globals.c Tue Jan 09 01:39:42 2018 ++++ mtx-src/globals.c Wed Apr 25 18:07:37 2018 +@@ -230,7 +230,7 @@ + if (outfile != NULL) + fclose(outfile); + outfile = NULL; +- outfile = fopen(outfile_NAME, "w"); ++ outfile = fopen(outfile_NAME, "wb"); + if (outfile == NULL) + _EscIO2(FileNotFound, outfile_NAME); + fclose(outfile); |