Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/wv2/files: wv2-0.4.0-elif.patch
Date: Tue, 29 Sep 2009 17:40:50
Message-Id: E1Msgga-0001cX-9d@stork.gentoo.org
1 hanno 09/09/29 17:40:24
2
3 Added: wv2-0.4.0-elif.patch
4 Log:
5 wv2: gcc44 fix
6 (Portage version: 2.2_rc42/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-text/wv2/files/wv2-0.4.0-elif.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/wv2/files/wv2-0.4.0-elif.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/wv2/files/wv2-0.4.0-elif.patch?rev=1.1&content-type=text/plain
13
14 Index: wv2-0.4.0-elif.patch
15 ===================================================================
16 --- src/ustring.cpp.old 2009-09-23 01:05:50.750887617 +0400
17 +++ src/ustring.cpp 2009-09-23 01:08:17.317619492 +0400
18 @@ -78,9 +78,9 @@
19 {
20 #if defined(HAVE_FUNC_ISINF)
21 return (isinf(d) == 1);
22 -#elif HAVE_FUNC_FINITE
23 +#elif defined(HAVE_FUNC_FINITE)
24 return finite(d) == 0 && d == d; // ### can we distinguish between + and - ?
25 -#elif HAVE_FUNC__FINITE
26 +#elif defined(HAVE_FUNC__FINITE)
27 return _finite(d) == 0 && d == d; // ###
28 #else
29 return false;
30 @@ -91,9 +91,9 @@
31 {
32 #if defined(HAVE_FUNC_ISINF)
33 return (isinf(d) == -1);
34 -#elif HAVE_FUNC_FINITE
35 +#elif defined(HAVE_FUNC_FINITE)
36 return finite(d) == 0 && d == d; // ###
37 -#elif HAVE_FUNC__FINITE
38 +#elif defined(HAVE_FUNC__FINITE)
39 return _finite(d) == 0 && d == d; // ###
40 #else
41 return false;