texlive[57055] Build/source/texk/detex: change a file to support
commits+kakuto at tug.org
commits+kakuto at tug.org
Thu Dec 3 14:46:39 CET 2020
Revision: 57055
http://tug.org/svn/texlive?view=revision&revision=57055
Author: kakuto
Date: 2020-12-03 14:46:39 +0100 (Thu, 03 Dec 2020)
Log Message:
-----------
change a file to support Windows
Modified Paths:
--------------
trunk/Build/source/texk/detex/TLpatches/ChangeLog
trunk/Build/source/texk/detex/detex-src/detex.h
Added Paths:
-----------
trunk/Build/source/texk/detex/TLpatches/patch-02-win32
Modified: trunk/Build/source/texk/detex/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/texk/detex/TLpatches/ChangeLog 2020-12-03 13:22:28 UTC (rev 57054)
+++ trunk/Build/source/texk/detex/TLpatches/ChangeLog 2020-12-03 13:46:39 UTC (rev 57055)
@@ -1,3 +1,7 @@
+2020-12-03 Akira Kakuto <kakuto at w32tex.org>
+
+ Add patch-02-win32 to support Windows.
+
2020-12-03 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
Remove patch-01-support-old-compiler, which is applied in the upstream.
Added: trunk/Build/source/texk/detex/TLpatches/patch-02-win32
===================================================================
--- trunk/Build/source/texk/detex/TLpatches/patch-02-win32 (rev 0)
+++ trunk/Build/source/texk/detex/TLpatches/patch-02-win32 2020-12-03 13:46:39 UTC (rev 57055)
@@ -0,0 +1,16 @@
+--- detex.h.orig Wed Jun 17 07:27:32 2020
++++ detex.h Thu Dec 03 22:39:45 2020
+@@ -56,8 +56,13 @@
+ #define DEFAULTINPUTS ".;/emtex/texinput"
+ #define CHPATHSEP ';'
+ #else
++#ifdef _WIN32
++#define DEFAULTINPUTS ".;c:/usr/local/tex/inputs"
++#define CHPATHSEP ';'
++#else
+ #define DEFAULTINPUTS ".:/usr/local/tex/inputs"
+ #define CHPATHSEP ':'
++#endif /* _WIN32 */
+ #endif
+ #endif
+
Modified: trunk/Build/source/texk/detex/detex-src/detex.h
===================================================================
--- trunk/Build/source/texk/detex/detex-src/detex.h 2020-12-03 13:22:28 UTC (rev 57054)
+++ trunk/Build/source/texk/detex/detex-src/detex.h 2020-12-03 13:46:39 UTC (rev 57055)
@@ -56,8 +56,13 @@
#define DEFAULTINPUTS ".;/emtex/texinput"
#define CHPATHSEP ';'
#else
+#ifdef _WIN32
+#define DEFAULTINPUTS ".;c:/usr/local/tex/inputs"
+#define CHPATHSEP ';'
+#else
#define DEFAULTINPUTS ".:/usr/local/tex/inputs"
#define CHPATHSEP ':'
+#endif /* _WIN32 */
#endif
#endif
More information about the tex-live-commits
mailing list.