summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-05-02 22:14:08 +0000
committerTristan Heaven <tristan@gentoo.org>2008-05-02 22:14:08 +0000
commitf4820cad401469453edb125263b87f219114d69f (patch)
tree36783985dca9605df6c80b8b44b5f2e9a34fcb4d /games-util/agistudio/files
parentVersion bump. (diff)
downloadhistorical-f4820cad401469453edb125263b87f219114d69f.tar.gz
historical-f4820cad401469453edb125263b87f219114d69f.tar.bz2
historical-f4820cad401469453edb125263b87f219114d69f.zip
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-util/agistudio/files')
-rw-r--r--games-util/agistudio/files/agistudio-1.2.2-gcc43.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch b/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch
new file mode 100644
index 000000000000..004a89bd2b1f
--- /dev/null
+++ b/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch
@@ -0,0 +1,50 @@
+--- src/logdecode.cpp
++++ src/logdecode.cpp
+@@ -27,7 +27,8 @@
+ #include "menu.h"
+ #include "agicommands.h"
+
+-#include <stdio.h>
++#include <cstdlib>
++#include <cstdio>
+
+ static int EncryptionStart;
+ static int MessageSectionStart,MessageSectionEnd;
+--- src/main.cpp
++++ src/main.cpp
+@@ -18,7 +18,8 @@
+ *
+ */
+
+-#include <stdio.h>
++#include <cstdlib>
++#include <cstdio>
+
+ #include <qapplication.h>
+ #include <qmainwindow.h>
+--- src/picedit.cpp
++++ src/picedit.cpp
+@@ -24,6 +24,7 @@
+ #include "picture.h"
+ #include "preview.h"
+
++#include <cstdlib>
+ #include <qspinbox.h>
+ #include <qapplication.h>
+ #include <qpainter.h>
+--- src/util.cpp
++++ src/util.cpp
+@@ -19,9 +19,10 @@
+ */
+
+ #include "util.h"
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <ctype.h>
++#include <cstdio>
++#include <cstdlib>
++#include <cctype>
++#include <cstring>
+
+ TStringList::TStringList ()
+ {