summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/mtx-0.60d-PATCHES
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-12 14:32:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-12 14:32:18 +0000
commit9f5608ba2efae21382aa973dc6095686c97b6c0e (patch)
tree9869762cf231ec6cd33923478a3f8ef7e2a6f5f3 /Build/source/utils/m-tx/mtx-0.60d-PATCHES
parentfd09c28d8785ca8ed5f57902031cb29541fc8f3f (diff)
utils/mtx: Renamed into utils/m-tx
git-svn-id: svn://tug.org/texlive/trunk@27015 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/m-tx/mtx-0.60d-PATCHES')
-rw-r--r--Build/source/utils/m-tx/mtx-0.60d-PATCHES/ChangeLog7
-rw-r--r--Build/source/utils/m-tx/mtx-0.60d-PATCHES/TL-Changes12
-rw-r--r--Build/source/utils/m-tx/mtx-0.60d-PATCHES/patch-01-write-bin27
3 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/utils/m-tx/mtx-0.60d-PATCHES/ChangeLog b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/ChangeLog
new file mode 100644
index 00000000000..925cebde3c1
--- /dev/null
+++ b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/ChangeLog
@@ -0,0 +1,7 @@
+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/mtx-0.60d-PATCHES/TL-Changes b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/TL-Changes
new file mode 100644
index 00000000000..a24ef1965c0
--- /dev/null
+++ b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/TL-Changes
@@ -0,0 +1,12 @@
+Changes applied to the mtx-0.60d tree as obtained from:
+ http://www.ctan.org/tex-archive/support/m-tx/
+
+Remove:
+ Makefile.in
+ aclocal.m4
+ configure
+ depcomp
+ install-sh
+ missing
+ libp2c/Makefile.in
+
diff --git a/Build/source/utils/m-tx/mtx-0.60d-PATCHES/patch-01-write-bin b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/patch-01-write-bin
new file mode 100644
index 00000000000..a513d56fc3c
--- /dev/null
+++ b/Build/source/utils/m-tx/mtx-0.60d-PATCHES/patch-01-write-bin
@@ -0,0 +1,27 @@
+diff -ur mtx-0.60d.orig/files.c mtx-0.60d/files.c
+--- mtx-0.60d.orig/files.c 2012-04-05 14:46:38.000000000 +0200
++++ mtx-0.60d/files.c 2012-06-16 17:39:37.000000000 +0200
+@@ -275,9 +275,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.60d.orig/globals.c mtx-0.60d/globals.c
+--- mtx-0.60d.orig/globals.c 2012-04-05 14:41:42.000000000 +0200
++++ mtx-0.60d/globals.c 2012-06-16 17:39:40.000000000 +0200
+@@ -237,7 +237,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);