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-puzzle/construo/files: construo-0.2.2-gcc43.patch
Date: Thu, 01 May 2008 13:11:36
Message-Id: E1JrYZS-0001tR-4K@stork.gentoo.org
1 nyhm 08/05/01 13:11:34
2
3 Added: construo-0.2.2-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/construo/files/construo-0.2.2-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/construo/files/construo-0.2.2-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/construo/files/construo-0.2.2-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: construo-0.2.2-gcc43.patch
15 ===================================================================
16 --- command_line.cxx
17 +++ command_line.cxx
18 @@ -19,7 +19,9 @@
19
20 #include <config.h>
21 #include <iostream>
22 -#include <stdio.h>
23 +#include <cstdio>
24 +#include <cstdlib>
25 +#include <cstring>
26 #include "settings.hxx"
27 #include "command_line.hxx"
28
29 --- config.hxx
30 +++ config.hxx
31 @@ -21,6 +21,7 @@
32 #define CONFIG_HH
33
34 #include <string>
35 +#include <cstdlib>
36
37 class Config
38 {
39 --- lisp_reader.cxx
40 +++ lisp_reader.cxx
41 @@ -17,6 +17,7 @@
42 // along with this program; if not, write to the Free Software
43 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
44
45 +#include <cstring>
46 #include "construo_error.hxx"
47 #include "lisp_reader.hxx"
48
49 --- unix_system.cxx
50 +++ unix_system.cxx
51 @@ -17,8 +17,9 @@
52 // along with this program; if not, write to the Free Software
53 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
54
55 -#include <stdio.h>
56 -#include <assert.h>
57 +#include <cstdio>
58 +#include <cassert>
59 +#include <cstring>
60 #include <unistd.h>
61 #include <sys/time.h>
62 #include <time.h>
63 --- vector.cxx
64 +++ vector.cxx
65 @@ -16,8 +16,8 @@
66 totally replaced old CL_Vector with this code
67 */
68
69 -#include <assert.h>
70 -#include <math.h>
71 +#include <cassert>
72 +#include <cmath>
73 #include "vector.hxx"
74
75 CL_Vector::CL_Vector(float x, float y, float z, float w)
76 --- world.cxx
77 +++ world.cxx
78 @@ -17,7 +17,8 @@
79 // along with this program; if not, write to the Free Software
80 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
81
82 -#include <assert.h>
83 +#include <cassert>
84 +#include <cstring>
85 #include <algorithm>
86 #include "config.h"
87
88 --- x11_display.cxx
89 +++ x11_display.cxx
90 @@ -19,6 +19,7 @@
91
92 #include <config.h>
93 #include <iostream>
94 +#include <cstring>
95 #include <X11/Xutil.h>
96 #include <X11/cursorfont.h>
97 #include <X11/keysym.h>
98
99
100
101 --
102 gentoo-commits@l.g.o mailing list