Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/muParser/files: muParser-1.28-gcc43.patch
Date: Sat, 26 Apr 2008 21:30:22
Message-Id: E1JpryO-0004Zp-Ks@stork.gentoo.org
1 bicatali 08/04/26 21:30:20
2
3 Added: muParser-1.28-gcc43.patch
4 Log:
5 Added gcc-4.3 patch, cleaning.
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 dev-cpp/muParser/files/muParser-1.28-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/muParser/files/muParser-1.28-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/muParser/files/muParser-1.28-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: muParser-1.28-gcc43.patch
15 ===================================================================
16 --- include/muParserTest.h.orig
17 +++ include/muParserTest.h
18 @@ -26,6 +26,7 @@
19 #ifndef MU_PARSER_TEST_H
20 #define MU_PARSER_TEST_H
21
22 +#include <cstdlib>
23 #include <string>
24 #include <numeric> // for accumulate
25 #include "muParser.h"
26 @@ -87,12 +88,12 @@
27
28 static value_type Rnd(value_type v)
29 {
30 - return (value_type)(1+(v*std::rand()/(RAND_MAX+1.0)));
31 + return (value_type)(1+(v*rand()/(RAND_MAX+1.0)));
32 }
33
34 static value_type RndWithString(const char_type*)
35 {
36 - return (value_type)( 1 + (1000.0f * std::rand() / (RAND_MAX + 1.0) ) );
37 + return (value_type)( 1 + (1000.0f * rand() / (RAND_MAX + 1.0) ) );
38 }
39
40 static value_type Ping()
41
42
43
44 --
45 gentoo-commits@l.g.o mailing list