diff options
author | Tristan Heaven <tristan@gentoo.org> | 2008-05-01 13:11:33 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2008-05-01 13:11:33 +0000 |
commit | d4a908153f685873bbf1731d683ef59dd1b442c9 (patch) | |
tree | 71f5b7e6525aa4994bece1f629f6e033a0658af0 /games-puzzle/construo/files | |
parent | Add nightly beta 2008-05-01; remove comment about svn ver from 7.0 (diff) | |
download | historical-d4a908153f685873bbf1731d683ef59dd1b442c9.tar.gz historical-d4a908153f685873bbf1731d683ef59dd1b442c9.tar.bz2 historical-d4a908153f685873bbf1731d683ef59dd1b442c9.zip |
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-puzzle/construo/files')
-rw-r--r-- | games-puzzle/construo/files/construo-0.2.2-gcc43.patch | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/games-puzzle/construo/files/construo-0.2.2-gcc43.patch b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch new file mode 100644 index 000000000000..cc946b043bae --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch @@ -0,0 +1,82 @@ +--- command_line.cxx ++++ command_line.cxx +@@ -19,7 +19,9 @@ + + #include <config.h> + #include <iostream> +-#include <stdio.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cstring> + #include "settings.hxx" + #include "command_line.hxx" + +--- config.hxx ++++ config.hxx +@@ -21,6 +21,7 @@ + #define CONFIG_HH + + #include <string> ++#include <cstdlib> + + class Config + { +--- lisp_reader.cxx ++++ lisp_reader.cxx +@@ -17,6 +17,7 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + ++#include <cstring> + #include "construo_error.hxx" + #include "lisp_reader.hxx" + +--- unix_system.cxx ++++ unix_system.cxx +@@ -17,8 +17,9 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <stdio.h> +-#include <assert.h> ++#include <cstdio> ++#include <cassert> ++#include <cstring> + #include <unistd.h> + #include <sys/time.h> + #include <time.h> +--- vector.cxx ++++ vector.cxx +@@ -16,8 +16,8 @@ + totally replaced old CL_Vector with this code + */ + +-#include <assert.h> +-#include <math.h> ++#include <cassert> ++#include <cmath> + #include "vector.hxx" + + CL_Vector::CL_Vector(float x, float y, float z, float w) +--- world.cxx ++++ world.cxx +@@ -17,7 +17,8 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <assert.h> ++#include <cassert> ++#include <cstring> + #include <algorithm> + #include "config.h" + +--- x11_display.cxx ++++ x11_display.cxx +@@ -19,6 +19,7 @@ + + #include <config.h> + #include <iostream> ++#include <cstring> + #include <X11/Xutil.h> + #include <X11/cursorfont.h> + #include <X11/keysym.h> |