summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-08-22 15:55:41 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-08-22 15:55:41 +0000
commit0806e270d61ff8a68573a747af1abf8d793c39d3 (patch)
tree974fbb6139798cda2961af78447e9d548cd1b4c5 /sci-physics/xfoil/files
parentInitial commit. Based on ebuild by Michael Stringer in bug #220045 (diff)
downloadhistorical-0806e270d61ff8a68573a747af1abf8d793c39d3.tar.gz
historical-0806e270d61ff8a68573a747af1abf8d793c39d3.tar.bz2
historical-0806e270d61ff8a68573a747af1abf8d793c39d3.zip
Version bump. Closing bug #231171
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64
Diffstat (limited to 'sci-physics/xfoil/files')
-rw-r--r--sci-physics/xfoil/files/xfoil-6.97-overflow.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-physics/xfoil/files/xfoil-6.97-overflow.patch b/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
new file mode 100644
index 000000000000..d86b52a4aaa1
--- /dev/null
+++ b/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
@@ -0,0 +1,22 @@
+--- src/pplot.f.orig 2008-08-21 20:21:08.000000000 +0100
++++ src/pplot.f 2008-08-21 20:21:42.000000000 +0100
+@@ -36,7 +36,7 @@
+ PROGRAM PPLOT
+ INCLUDE 'PPLOT.INC'
+ C
+- LOGICAL ERROR, LGETFN
++ LOGICAL ERROR, LGETFN, LERR
+ REAL RINP(10)
+ REAL CPOLO(NAX,IPTOT,NPX), VPOLO(NAX,2,NPX)
+ C
+--- src/xoper.f.orig 2008-08-22 15:55:27.000000000 +0100
++++ src/xoper.f 2008-08-22 15:53:36.000000000 +0100
+@@ -114,7 +114,7 @@
+ C---- don't try to read integers, since might get integer overflow
+ DO I=1, NINPUT
+ IF(ABS(RINPUT(I)) .GT. 2.1E9) THEN
+- IINPUT(I) = 2**31
++ IINPUT(I) = 1.99**31
+ ELSE
+ IINPUT(I) = INT(RINPUT(I))
+ ENDIF