From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-puzzle/xye/files: xye-0.8.0-gcc43.patch |
Date: | Fri, 02 May 2008 14:30:02 |
Message-Id: | E1JrwGt-0003OX-C7@stork.gentoo.org |
1 | nyhm 08/05/02 14:29:59 |
2 | |
3 | Added: xye-0.8.0-gcc43.patch |
4 | Log: |
5 | Fix building with gcc-4.3 |
6 | (Portage version: 2.1.5_rc6) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-puzzle/xye/files/xye-0.8.0-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/xye/files/xye-0.8.0-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/xye/files/xye-0.8.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: xye-0.8.0-gcc43.patch |
15 | =================================================================== |
16 | --- src/browser.cpp |
17 | +++ src/browser.cpp |
18 | @@ -17,11 +17,12 @@ |
19 | |
20 | #include "browser.h" |
21 | |
22 | -#include <errno.h> |
23 | +#include <cerrno> |
24 | |
25 | -#include <stdio.h> |
26 | -#include <stdlib.h> |
27 | +#include <cstdio> |
28 | +#include <cstdlib> |
29 | #include <string> |
30 | +#include <cstring> |
31 | |
32 | |
33 | |
34 | --- src/command.cpp |
35 | +++ src/command.cpp |
36 | @@ -1,3 +1,4 @@ |
37 | +#include <cstdlib> |
38 | #include "command.h" |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | -- |
45 | gentoo-commits@l.g.o mailing list |