Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/xfoil/files: xfoil-6.97-overflow.patch
Date: Mon, 24 Nov 2008 15:47:22
Message-Id: E1L4dei-0001OJ-3j@stork.gentoo.org
1 bicatali 08/11/24 15:47:20
2
3 Modified: xfoil-6.97-overflow.patch
4 Log:
5 Fixed patch for overflow, thanks to Joel Soete
6 (Portage version: 2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64)
7
8 Revision Changes Path
9 1.2 sci-physics/xfoil/files/xfoil-6.97-overflow.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/xfoil/files/xfoil-6.97-overflow.patch?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/xfoil/files/xfoil-6.97-overflow.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/xfoil/files/xfoil-6.97-overflow.patch?r1=1.1&r2=1.2
14
15 Index: xfoil-6.97-overflow.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-physics/xfoil/files/xfoil-6.97-overflow.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- xfoil-6.97-overflow.patch 22 Aug 2008 15:55:41 -0000 1.1
22 +++ xfoil-6.97-overflow.patch 24 Nov 2008 15:47:20 -0000 1.2
23 @@ -16,7 +16,7 @@
24 DO I=1, NINPUT
25 IF(ABS(RINPUT(I)) .GT. 2.1E9) THEN
26 - IINPUT(I) = 2**31
27 -+ IINPUT(I) = 1.99**31
28 ++ IINPUT(I) = HUGE(0)
29 ELSE
30 IINPUT(I) = INT(RINPUT(I))
31 ENDIF