summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-04-12 07:24:42 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-04-12 07:24:42 +0000
commit4542742a9f8862ba14886bf79c7e7a4a80cac125 (patch)
treebd9cb54d6792292feb99d5d8a04b064bf801dce1 /Build/source/utils/pmx
parent47377f5b04fa2796039b645b8977363e854771c6 (diff)
pmx: Update pmx270.for used by f2c to create pmxab.c
from Bob Tennent <rdt@cs.queensu.ca> git-svn-id: svn://tug.org/texlive/trunk@29875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/pmx')
-rw-r--r--Build/source/utils/pmx/pmx-2.7.0-PATCHES/ChangeLog6
-rw-r--r--Build/source/utils/pmx/pmx-2.7.0-PATCHES/patch-01-common47
-rw-r--r--Build/source/utils/pmx/pmx-2.7.0/pmx270.for10
3 files changed, 57 insertions, 6 deletions
diff --git a/Build/source/utils/pmx/pmx-2.7.0-PATCHES/ChangeLog b/Build/source/utils/pmx/pmx-2.7.0-PATCHES/ChangeLog
index b476adb2287..c3f90e96932 100644
--- a/Build/source/utils/pmx/pmx-2.7.0-PATCHES/ChangeLog
+++ b/Build/source/utils/pmx/pmx-2.7.0-PATCHES/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-01-common: Make sure f2c can convert pmx270.for, i.e.,
+ avoid name conflict between formal subroutine parameter and
+ common block member. From Bob Tennent <rdt@cs.queensu.ca>.
+
2013-04-11 Peter Breitenlohner <peb@mppmu.mpg.de>
Imported pmx-2.7.0 source tree from:
diff --git a/Build/source/utils/pmx/pmx-2.7.0-PATCHES/patch-01-common b/Build/source/utils/pmx/pmx-2.7.0-PATCHES/patch-01-common
index ef86e62ccd3..54614abae3a 100644
--- a/Build/source/utils/pmx/pmx-2.7.0-PATCHES/patch-01-common
+++ b/Build/source/utils/pmx/pmx-2.7.0-PATCHES/patch-01-common
@@ -1,6 +1,15 @@
diff -ur pmx-2.7.0.orig/pmx270.for pmx-2.7.0/pmx270.for
--- pmx-2.7.0.orig/pmx270.for 2013-04-03 09:02:49.000000000 +0200
-+++ pmx-2.7.0/pmx270.for 2013-04-11 08:40:51.000000000 +0200
++++ pmx-2.7.0/pmx270.for 2013-04-12 08:47:44.000000000 +0200
+@@ -10904,7 +10904,7 @@
+ end if
+ go to 1
+ end
+- subroutine getmidi(noinst,lineq,iccount,ibarcnt,ibaroff,nbars,
++ subroutine getmidi(noinstarg,lineq,iccount,ibarcnt,ibaroff,nbars,
+ * lenbar,
+ c subroutine getmidi(nv,lineq,iccount,ibarcnt,ibaroff,nbars,lenbar,
+ * mtrdenl,first)
@@ -10933,7 +10933,7 @@
* debugmidi
logical debugmidi
@@ -10,6 +19,42 @@ diff -ur pmx-2.7.0.orig/pmx270.for pmx-2.7.0/pmx270.for
integer*2 iinsiv
character*1 durq
character*2 instq
+@@ -11010,7 +11010,7 @@
+ c Instrument numbers or letters. Expect noinst of them.
+ c
+ c do 2 ivx = 1 , nv
+- do 2 ivx = 1 , noinst
++ do 2 ivx = 1 , noinstarg
+ call getchar(lineq,iccount,durq)
+ if (ichar(durq) .gt. 96) then
+ c
+@@ -11055,7 +11055,7 @@
+ c Follow same pattern as for insttrument numbers above.
+ c
+ c do 7 ivx = 1 , nv
+- do 7 ivx = 1 , noinst
++ do 7 ivx = 1 , noinstarg
+ call getchar(lineq,iccount,durq)
+ if (index('123456789',durq) .eq. 0) then
+ call errmsg(lineq,iccount,ibarcnt-ibaroff+nbars+1,
+@@ -11078,7 +11078,7 @@
+ c Follow same pattern as for instrument numbers above.
+ c
+ c do 8 ivx = 1 , nv
+- do 8 ivx = 1 , noinst
++ do 8 ivx = 1 , noinstarg
+ call getchar(lineq,iccount,durq)
+ if (index('123456789',durq) .eq. 0) then
+ call errmsg(lineq,iccount,ibarcnt-ibaroff+nbars+1,
+@@ -11101,7 +11101,7 @@
+ c Follow similar pattern as above, but separator is +|-.
+ c
+ c do 9 ivx = 1 , nv
+- do 9 ivx = 1 , noinst
++ do 9 ivx = 1 , noinstarg
+ call getchar(lineq,iccount,durq)
+ ipm = index('-+',durq)
+ if (ipm .eq. 0) then
diff -ur pmx-2.7.0.orig/scor2prt.c pmx-2.7.0/scor2prt.c
--- pmx-2.7.0.orig/scor2prt.c 2013-04-03 08:54:13.000000000 +0200
+++ pmx-2.7.0/scor2prt.c 2013-04-11 08:47:42.000000000 +0200
diff --git a/Build/source/utils/pmx/pmx-2.7.0/pmx270.for b/Build/source/utils/pmx/pmx-2.7.0/pmx270.for
index bb6ac6a7f20..5c8e4c36e60 100644
--- a/Build/source/utils/pmx/pmx-2.7.0/pmx270.for
+++ b/Build/source/utils/pmx/pmx-2.7.0/pmx270.for
@@ -10904,7 +10904,7 @@ c
end if
go to 1
end
- subroutine getmidi(noinst,lineq,iccount,ibarcnt,ibaroff,nbars,
+ subroutine getmidi(noinstarg,lineq,iccount,ibarcnt,ibaroff,nbars,
* lenbar,
c subroutine getmidi(nv,lineq,iccount,ibarcnt,ibaroff,nbars,lenbar,
* mtrdenl,first)
@@ -11010,7 +11010,7 @@ cc Instrument numbers or letters. Expect nv of them.
c Instrument numbers or letters. Expect noinst of them.
c
c do 2 ivx = 1 , nv
- do 2 ivx = 1 , noinst
+ do 2 ivx = 1 , noinstarg
call getchar(lineq,iccount,durq)
if (ichar(durq) .gt. 96) then
c
@@ -11055,7 +11055,7 @@ c Get volumes for each instrument. Expect nv of them.
c Follow same pattern as for insttrument numbers above.
c
c do 7 ivx = 1 , nv
- do 7 ivx = 1 , noinst
+ do 7 ivx = 1 , noinstarg
call getchar(lineq,iccount,durq)
if (index('123456789',durq) .eq. 0) then
call errmsg(lineq,iccount,ibarcnt-ibaroff+nbars+1,
@@ -11078,7 +11078,7 @@ c Get balance for each instrument. Expect nv of them.
c Follow same pattern as for instrument numbers above.
c
c do 8 ivx = 1 , nv
- do 8 ivx = 1 , noinst
+ do 8 ivx = 1 , noinstarg
call getchar(lineq,iccount,durq)
if (index('123456789',durq) .eq. 0) then
call errmsg(lineq,iccount,ibarcnt-ibaroff+nbars+1,
@@ -11101,7 +11101,7 @@ c Get transposition for each instrument. Expect nv of them.
c Follow similar pattern as above, but separator is +|-.
c
c do 9 ivx = 1 , nv
- do 9 ivx = 1 , noinst
+ do 9 ivx = 1 , noinstarg
call getchar(lineq,iccount,durq)
ipm = index('-+',durq)
if (ipm .eq. 0) then