summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-02-10 13:14:37 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-02-10 13:14:37 +0000
commit915ccaf4c28127e31df0ef870a9f993aafa4a890 (patch)
treed003c83afad8d13a2edba778db020228ab00b529 /Build/source
parent4e27c6dac809aa80797d83115323c655dd57b773 (diff)
texk/musixtnt: Portability fix
git-svn-id: svn://tug.org/texlive/trunk@36251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/ChangeLog4
-rw-r--r--Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/patch-02-portability12
-rwxr-xr-xBuild/source/texk/musixtnt/musixtnt-2015-02-09/fixmsxpart.test2
3 files changed, 17 insertions, 1 deletions
diff --git a/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/ChangeLog b/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/ChangeLog
index c21acadedeb..0f2b7aa8ce7 100644
--- a/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/ChangeLog
+++ b/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/ChangeLog
@@ -2,3 +2,7 @@
Import musixtnt-2015-02-09.
+ * patch-01-too-many-args (new): Test too many fixmsxpart args.
+ * patch-02-portability (new): Avoid thn GNU extension 'date +%F'
+ from Akira Kakuto <kakuto@fuk.kindai.ac.jp>.
+
diff --git a/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/patch-02-portability b/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/patch-02-portability
new file mode 100644
index 00000000000..484d990990e
--- /dev/null
+++ b/Build/source/texk/musixtnt/musixtnt-2015-02-09-PATCHES/patch-02-portability
@@ -0,0 +1,12 @@
+diff -ur musixtnt-2015-02-09.orig/fixmsxpart.test musixtnt-2015-02-09/fixmsxpart.test
+--- musixtnt-2015-02-09.orig/fixmsxpart.test 2015-02-10 08:41:06.362535492 +0100
++++ musixtnt-2015-02-09/fixmsxpart.test 2015-02-10 14:07:17.000000000 +0100
+@@ -18,7 +18,7 @@
+ : ${testsrc:=$srcdir/tests}
+
+ echo && echo "*** generate fixtest.exp with version and date"
+-yyyymmdd=`date +%F`
++yyyymmdd=`date +%Y-%m-%d`
+ version=`./fixmsxpart -v | sed 's/^This .* version \(.*\).$/\1/'`
+ { echo "% Generated on $yyyymmdd by fixmsxpart ($version)."
+ cat $testsrc/fixtest.out; } >fixtest.exp
diff --git a/Build/source/texk/musixtnt/musixtnt-2015-02-09/fixmsxpart.test b/Build/source/texk/musixtnt/musixtnt-2015-02-09/fixmsxpart.test
index 0f9dc8a0936..7b468620eaa 100755
--- a/Build/source/texk/musixtnt/musixtnt-2015-02-09/fixmsxpart.test
+++ b/Build/source/texk/musixtnt/musixtnt-2015-02-09/fixmsxpart.test
@@ -18,7 +18,7 @@ echo && echo "*** fixmsxpart too many args"
: ${testsrc:=$srcdir/tests}
echo && echo "*** generate fixtest.exp with version and date"
-yyyymmdd=`date +%F`
+yyyymmdd=`date +%Y-%m-%d`
version=`./fixmsxpart -v | sed 's/^This .* version \(.*\).$/\1/'`
{ echo "% Generated on $yyyymmdd by fixmsxpart ($version)."
cat $testsrc/fixtest.out; } >fixtest.exp