File stardict-3.0.1-gcc44.patch of Package stardict
Index: stardict-3.0.1/src/lib/data.cpp
===================================================================
--- stardict-3.0.1.orig/src/lib/data.cpp 2009-05-26 13:47:53.000000000 +0800
+++ stardict-3.0.1/src/lib/data.cpp 2009-05-26 13:52:22.000000000 +0800
@@ -28,6 +28,7 @@
#include "data.hpp"
#include "getuint32.h"
+#include <cstdio>
DictBase::DictBase()
{
Index: stardict-3.0.1/src/lib/stardict_client.cpp
===================================================================
--- stardict-3.0.1.orig/src/lib/stardict_client.cpp 2009-05-26 13:47:53.000000000 +0800
+++ stardict-3.0.1/src/lib/stardict_client.cpp 2009-05-26 14:01:52.000000000 +0800
@@ -32,6 +32,7 @@
#include "getuint32.h"
#include "stardict_client.hpp"
+#include <cstdio>
#define PROTOCOL_VERSION "0.3"