Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/ultrastar-ng/files: ultrastar-ng-0.2.1-gcc43.patch
Date: Sat, 30 May 2009 16:25:57
Message-Id: E1MARNa-0004Dk-SO@stork.gentoo.org
1 mr_bones_ 09/05/30 16:25:54
2
3 Added: ultrastar-ng-0.2.1-gcc43.patch
4 Log:
5 add patch for building with gcc43 - submitted by fox via bug #271222
6 (Portage version: 2.1.6.11/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-arcade/ultrastar-ng/files/ultrastar-ng-0.2.1-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/files/ultrastar-ng-0.2.1-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/files/ultrastar-ng-0.2.1-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: ultrastar-ng-0.2.1-gcc43.patch
15 ===================================================================
16 --- audio/audio_dev_tone.cpp 2007-11-04 12:44:26.000000000 +0100
17 +++ audio/audio_dev_tone.cpp.patched 2009-05-23 13:50:51.690432280 +0200
18 @@ -54,9 +54,10 @@
19 double freq = 440.0, amplitude = 0.1, phase = 0.0;
20 using namespace boost::spirit;
21 using namespace boost::lambda;
22 + placeholder1_type arg1;
23 if (!parse(tonestr.c_str(),
24 !(limit_d(1.0, s.rate() / 2.0)[real_p][assign_a(freq)]) >> *(!ch_p('.') >> (
25 - str_p("amplitude(") >> (max_limit_d(0.0)[real_p][var(amplitude) = bind(static_cast<double(*)(double, double)>(std::pow), 10.0, _1 / 20.0)] | real_p[assign_a(amplitude)]) |
26 + str_p("amplitude(") >> (max_limit_d(0.0)[real_p][var(amplitude) = bind(static_cast<double(*)(double, double)>(std::pow), 10.0, arg1 / 20.0)] | real_p[assign_a(amplitude)]) |
27 str_p("phase(") >> limit_d(0.0, 1.0)[real_p][assign_a(phase)]
28 ) >> ')')
29 ).full)