summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-05-02 19:35:35 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-05-02 19:35:35 +0000
commit7fef9294dca5e534e846e84ab858835b38c44cc9 (patch)
treed27897d5227741d6869326e3190a2301738bef65 /games-kids/gmult/files
parentBump to 2.22.1.1 (diff)
downloadgentoo-2-7fef9294dca5e534e846e84ab858835b38c44cc9.tar.gz
gentoo-2-7fef9294dca5e534e846e84ab858835b38c44cc9.tar.bz2
gentoo-2-7fef9294dca5e534e846e84ab858835b38c44cc9.zip
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-kids/gmult/files')
-rw-r--r--games-kids/gmult/files/gmult-5.3-gcc43.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/games-kids/gmult/files/gmult-5.3-gcc43.patch b/games-kids/gmult/files/gmult-5.3-gcc43.patch
new file mode 100644
index 000000000000..74b2f2041cc4
--- /dev/null
+++ b/games-kids/gmult/files/gmult-5.3-gcc43.patch
@@ -0,0 +1,32 @@
+--- gmult/DigitChooser.cpp
++++ gmult/DigitChooser.cpp
+@@ -19,6 +19,7 @@
+ #include "DigitChooser.h"
+ #include "config.h"
+ #include "gettext.h"
++#include <cstring>
+
+ DigitChooser::DigitChooser (Gtk::Window &parent, MultPuzzle &puzzle, char letter)
+ : Gtk::Dialog ("", parent, true, false)
+--- gmult/GtkMult.cpp
++++ gmult/GtkMult.cpp
+@@ -3,6 +3,7 @@
+ #include "config.h"
+ #include "gettext.h"
+
++#include <cstring>
+ #include <gtkmm/icontheme.h>
+
+ GtkMult::GtkMult (void)
+--- gmult/GtkMultTable.cpp
++++ gmult/GtkMultTable.cpp
+@@ -22,7 +22,8 @@
+ #include "DigitChooser.h"
+ #include "config.h"
+ #include "gettext.h"
+-#include <ctype.h>
++#include <cctype>
++#include <cstring>
+
+ GtkMultTable::GtkMultTable (MultPuzzle *p)
+ : Gtk::Table (1, 1, TRUE), puzzle (p)