summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-24 15:47:20 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-24 15:47:20 +0000
commit72f83d5967916ac27f8b9cc3ef853ec2a62d8b2b (patch)
tree24ce0095d595c6c0cc8d6d2ba3c9c2777219b5b0 /sci-physics/xfoil/files
parentVersion bump. Small fixes - fixed pango_matrix_concat; perf improvement in th... (diff)
downloadgentoo-2-72f83d5967916ac27f8b9cc3ef853ec2a62d8b2b.tar.gz
gentoo-2-72f83d5967916ac27f8b9cc3ef853ec2a62d8b2b.tar.bz2
gentoo-2-72f83d5967916ac27f8b9cc3ef853ec2a62d8b2b.zip
Fixed patch for overflow, thanks to Joel Soete
(Portage version: 2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-physics/xfoil/files')
-rw-r--r--sci-physics/xfoil/files/xfoil-6.97-overflow.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-physics/xfoil/files/xfoil-6.97-overflow.patch b/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
index d86b52a4aaa1..73656f927a48 100644
--- a/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
+++ b/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
@@ -16,7 +16,7 @@
DO I=1, NINPUT
IF(ABS(RINPUT(I)) .GT. 2.1E9) THEN
- IINPUT(I) = 2**31
-+ IINPUT(I) = 1.99**31
++ IINPUT(I) = HUGE(0)
ELSE
IINPUT(I) = INT(RINPUT(I))
ENDIF