summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-12-03 13:46:39 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-12-03 13:46:39 +0000
commit59b2a7f266e30473f6728baa4de5b78cb9040011 (patch)
tree3a38861396d7e16c284dc95f35bf11220b2c4732 /Build
parent09c809205e2c3a83d3e0f80d116ea08fd2e79b5a (diff)
change a file to support Windows
git-svn-id: svn://tug.org/texlive/trunk@57055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/detex/TLpatches/ChangeLog4
-rw-r--r--Build/source/texk/detex/TLpatches/patch-02-win3216
-rw-r--r--Build/source/texk/detex/detex-src/detex.h5
3 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/texk/detex/TLpatches/ChangeLog b/Build/source/texk/detex/TLpatches/ChangeLog
index 4c36050c33a..c102b178207 100644
--- a/Build/source/texk/detex/TLpatches/ChangeLog
+++ b/Build/source/texk/detex/TLpatches/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-03 Akira Kakuto <kakuto@w32tex.org>
+
+ Add patch-02-win32 to support Windows.
+
2020-12-03 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
Remove patch-01-support-old-compiler, which is applied in the upstream.
diff --git a/Build/source/texk/detex/TLpatches/patch-02-win32 b/Build/source/texk/detex/TLpatches/patch-02-win32
new file mode 100644
index 00000000000..b0611b759a7
--- /dev/null
+++ b/Build/source/texk/detex/TLpatches/patch-02-win32
@@ -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
+
diff --git a/Build/source/texk/detex/detex-src/detex.h b/Build/source/texk/detex/detex-src/detex.h
index 2fca90b1f9d..169cc57461a 100644
--- a/Build/source/texk/detex/detex-src/detex.h
+++ b/Build/source/texk/detex/detex-src/detex.h
@@ -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