diff options
author | Jesse van Rhijn | 2017-12-21 20:41:20 +0100 |
---|---|---|
committer | Jesse van Rhijn | 2017-12-21 20:41:20 +0100 |
commit | 7d2832aeac0c3bd02452a9be3df7602f8fa6d049 (patch) | |
tree | 83239e2e893cc02f452b2795bc70a533cb581fcb | |
parent | a98082d9e009158be987ace70dc6d3803c073076 (diff) | |
download | aur-7d2832aeac0c3bd02452a9be3df7602f8fa6d049.tar.gz |
Incorporated fix for read after EOF, from Ubuntu repos
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | xfoil-fix-write-after-end.patch | 31 |
2 files changed, 32 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgbase = xfoil pkgdesc = Program for design and analysis of subsonic airfoils. pkgver = 6.99 - pkgrel = 1 + pkgrel = 2 url = http://web.mit.edu/drela/Public/web/xfoil/ arch = i686 arch = x86_64 diff --git a/xfoil-fix-write-after-end.patch b/xfoil-fix-write-after-end.patch new file mode 100644 index 000000000000..5702e48a2c22 --- /dev/null +++ b/xfoil-fix-write-after-end.patch @@ -0,0 +1,31 @@ +diff -aur Xfoil/src/xpol.f Xfoil.patched/src/xpol.f +--- Xfoil/src/xpol.f ++++ Xfoil.patched/src/xpol.f +@@ -516,6 +516,7 @@ + C + C---- the polar dump file doesn't exist, so write new header + 60 CONTINUE ++ BACKSPACE(LU) + WRITE(LU) NAME, 'XFOIL ', VERSION + WRITE(LU) MINF1, REINF1/1.0E6, ACRIT(1), ACRIT(2) + WRITE(LU) MATYP, RETYP +@@ -948,7 +949,8 @@ + 1000 FORMAT(A) + GO TO 10 + C +- 90 RETURN ++ 90 BACKSPACE(LU) ++ RETURN + END + + +@@ -958,7 +960,8 @@ + 10 READ(LU,END=90,ERR=90) DUMMY + GO TO 10 + C +- 90 RETURN ++ 90 BACKSPACE(LU) ++ RETURN + END + + |