Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/xfreecell/files: xfreecell-1.0.5b-gcc43.patch
Date: Fri, 02 May 2008 23:17:46
Message-Id: E1Js4Vc-0000n2-A1@stork.gentoo.org
1 nyhm 08/05/02 23:17:44
2
3 Added: xfreecell-1.0.5b-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-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/xfreecell/files/xfreecell-1.0.5b-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: xfreecell-1.0.5b-gcc43.patch
15 ===================================================================
16 --- card.cpp
17 +++ card.cpp
18 @@ -1,5 +1,6 @@
19 +#include <cstdlib>
20 #include <cstdio>
21 -#include <math.h>
22 +#include <cmath>
23 #ifdef SHAPE
24 #include <X11/Xlib.h>
25 #include <X11/Xutil.h>
26 --- freecell.cpp
27 +++ freecell.cpp
28 @@ -1,6 +1,7 @@
29 #include <dirent.h>
30 #include <fcntl.h>
31 -#include <stdlib.h>
32 +#include <cstdlib>
33 +#include <cstring>
34 #include <sys/stat.h>
35 #include <sys/time.h>
36 #include <sys/types.h>
37 --- option.cpp
38 +++ option.cpp
39 @@ -3,7 +3,9 @@
40 #include <fcntl.h>
41 #include <dirent.h>
42 #include <unistd.h>
43 -#include <stdio.h>
44 +#include <cstdlib>
45 +#include <cstdio>
46 +#include <cstring>
47
48 #include "general.h"
49 #include "option.h"
50 --- subwindows.cpp
51 +++ subwindows.cpp
52 @@ -3,7 +3,8 @@
53 #include <fcntl.h>
54 #include <dirent.h>
55 #include <unistd.h>
56 -#include <stdio.h>
57 +#include <cstdlib>
58 +#include <cstdio>
59
60 #include "general.h"
61 #include "subwindows.h"
62 --- widget/widget.h
63 +++ widget/widget.h
64 @@ -4,7 +4,9 @@
65 #include <X11/Xlib.h>
66 #include <X11/Xutil.h>
67 #include <X11/keysym.h>
68 -#include <stdio.h>
69 +#include <cstdlib>
70 +#include <cstdio>
71 +#include <cstring>
72 #include <vector>
73 #include <string>
74
75
76
77
78 --
79 gentoo-commits@l.g.o mailing list