From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-misc/yadex/files: yadex-1.7.0-elif.patch |
Date: | Wed, 05 Aug 2009 02:53:31 |
Message-Id: | E1MYWd7-0005oC-HO@stork.gentoo.org |
1 | mr_bones_ 09/08/05 02:53:29 |
2 | |
3 | Added: yadex-1.7.0-elif.patch |
4 | Log: |
5 | fix building with gcc44 with patch from Fredric Johansson (bug #274001) |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-misc/yadex/files/yadex-1.7.0-elif.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-misc/yadex/files/yadex-1.7.0-elif.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-misc/yadex/files/yadex-1.7.0-elif.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: yadex-1.7.0-elif.patch |
15 | =================================================================== |
16 | --- src/gfx.cc.old 2009-08-01 18:47:46.000000000 +0200 |
17 | +++ src/gfx.cc 2009-08-01 18:46:03.000000000 +0200 |
18 | @@ -310,7 +310,7 @@ |
19 | win_vis_id = vis_info->visualid; |
20 | #if defined _cplusplus || defined __cplusplus |
21 | win_vis_class = vis_info->c_class; |
22 | -#elif |
23 | +#else |
24 | win_vis_class = vis_info->class; |
25 | #endif |
26 | win_ncolours = vis_info->colormap_size; |