Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/openra/files: openra-20120630-sound.patch openra-20120504-makefile.patch
Date: Sun, 01 Jul 2012 00:43:06
Message-Id: 20120701004257.062EA2004C@flycatcher.gentoo.org
1 hasufell 12/07/01 00:42:57
2
3 Added: openra-20120630-sound.patch
4 Removed: openra-20120504-makefile.patch
5 Log:
6 version bump, remove old
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 games-strategy/openra/files/openra-20120630-sound.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20120630-sound.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20120630-sound.patch?rev=1.1&content-type=text/plain
15
16 Index: openra-20120630-sound.patch
17 ===================================================================
18 Date: Sun Jul 1 00:34:03 UTC 2012
19 Subject: https://github.com/OpenRA/OpenRA/issues/2005
20
21 fixed in https://github.com/OpenRA/OpenRA/commit/c068be453a9bcb7bc1fdd5874dc1296b6f4810d0#diff-0
22
23 --- OpenRA.FileFormats/FieldLoader.cs
24 +++ OpenRA.FileFormats/FieldLoader.cs
25 @@ -325,6 +325,10 @@
26 ((int)c.B).Clamp(0, 255));
27 }
28
29 + // Don't save floats in settings.yaml using country-specific decimal separators which can be misunderstood as group seperators.
30 + if (t == typeof(float))
31 + return ((float)v).ToString(CultureInfo.InvariantCulture);
32 +
33 if (t == typeof(Rectangle))
34 {
35 var r = (Rectangle)v;