libaiksaurus/libaiksaurus-1.2.1-gcc43.patch

34 lines
1.2 KiB
Diff

diff -ru aiksaurus-1.2.1/base/aiksaurus.t.cpp aiksaurus-1.2.1.patched/base/aiksaurus.t.cpp
--- aiksaurus-1.2.1/base/aiksaurus.t.cpp 2003-06-27 03:44:38.000000000 +0200
+++ aiksaurus-1.2.1.patched/base/aiksaurus.t.cpp 2009-05-18 18:17:52.000000000 +0200
@@ -22,6 +22,7 @@
#include "Aiksaurus.h"
#include "AsciiCompare.h"
#include "config.h"
+#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
diff -ru aiksaurus-1.2.1/gtk/src/Display.cpp aiksaurus-1.2.1.patched/gtk/src/Display.cpp
--- aiksaurus-1.2.1/gtk/src/Display.cpp 2003-05-28 01:56:54.000000000 +0200
+++ aiksaurus-1.2.1.patched/gtk/src/Display.cpp 2009-05-18 18:18:27.000000000 +0200
@@ -18,6 +18,7 @@
* 02111-1307, USA.
*/
+#include <cstring>
#include "Display.h"
#include "Meaning.h"
#include "DialogMediator.h"
diff -ru aiksaurus-1.2.1/gtk/src/gtkAiksaur.t.cpp aiksaurus-1.2.1.patched/gtk/src/gtkAiksaur.t.cpp
--- aiksaurus-1.2.1/gtk/src/gtkAiksaur.t.cpp 2002-01-12 03:02:12.000000000 +0100
+++ aiksaurus-1.2.1.patched/gtk/src/gtkAiksaur.t.cpp 2009-05-18 18:19:00.000000000 +0200
@@ -23,6 +23,7 @@
#include <gtk/gtk.h>
#include <iostream>
#include <string>
+#include <cstdlib>
using namespace std;
int main(int argc, char** argv)