diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2017-03-06 00:23:43 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2017-03-06 00:23:43 +0300 |
commit | 3d656adb54ef2b718e3b14d720ff78ebae5af7d5 (patch) | |
tree | 11475822d81c553edac6bbe9a35d3f472fbef216 /sci-physics/xfoil/files | |
parent | app-doc/pms: Don't try to install png files since there aren't any. (diff) | |
download | gentoo-3d656adb54ef2b718e3b14d720ff78ebae5af7d5.tar.gz gentoo-3d656adb54ef2b718e3b14d720ff78ebae5af7d5.tar.bz2 gentoo-3d656adb54ef2b718e3b14d720ff78ebae5af7d5.zip |
sci-physics/xfoil: version bump
Bug: 556688
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'sci-physics/xfoil/files')
-rw-r--r-- | sci-physics/xfoil/files/xfoil-6.99-overflow.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-physics/xfoil/files/xfoil-6.99-overflow.patch b/sci-physics/xfoil/files/xfoil-6.99-overflow.patch new file mode 100644 index 000000000000..d35528caa089 --- /dev/null +++ b/sci-physics/xfoil/files/xfoil-6.99-overflow.patch @@ -0,0 +1,11 @@ +--- Xfoil/src/xoper.f.orig 2013-12-08 22:21:22.000000000 +0400 ++++ Xfoil/src/xoper.f 2017-03-05 23:02:33.214895357 +0300 +@@ -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**30 ++ IINPUT(I) = HUGE(0) + ELSE + IINPUT(I) = INT(RINPUT(I)) + ENDIF |