-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  tags 468071 patch
  quit

  I added one patch to fix the FTBFS with GCC 4.3:  ... changes meaning of ...
  Two things were fixed:
  + Fixed the issues about GCC 4.3.
  + Also was added the dependency with the package libsigc++-2.0-dev
in the  debian/control, because by default the package was using local
libsigc++-2.0 libs (an old version with old issues).

   do you wish a NMU package if you have lack time?

  Regards.



- --
Anibal Avelar (FixXxeR) http://fixxxer.cc
GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B6 4656

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFH4vL3zur584O2RlYRAjFpAJ0UeLo0mZvXzdggF/8RqF7aZ6QL+wCfZSS8
hLjJaT7+ikjRXqWk+t/9v9M=
=y5sj
-----END PGP SIGNATURE-----
diff -Nru stardict-3.0.1.orig/debian/control stardict-3.0.1/debian/control
--- stardict-3.0.1.orig/debian/control	2008-03-20 15:21:44.000000000 -0600
+++ stardict-3.0.1/debian/control	2008-03-20 17:06:37.243434519 -0600
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Andrew Lee <[EMAIL PROTECTED]>
 Uploaders: Anthony Fok <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.51), dpatch, libgnomeui-dev, scrollkeeper, libbonobo2-dev, libgconf2-dev, liborbit2-dev, zlib1g-dev, sharutils, libxml-parser-perl, libx11-dev, x-dev, libenchant-dev, libgucharmap-dev, libespeak-dev, festival-dev, libestools1.2-dev, libtool, intltool, autoconf, automake (>= 1.10), autotools-dev
+Build-Depends: debhelper (>= 5.0.51), dpatch, libgnomeui-dev, scrollkeeper, libbonobo2-dev, libgconf2-dev, liborbit2-dev, zlib1g-dev, sharutils, libxml-parser-perl, libx11-dev, x-dev, libenchant-dev, libgucharmap-dev, libespeak-dev, festival-dev, libestools1.2-dev, libtool, intltool, autoconf, automake (>= 1.10), autotools-dev, sigc++-2.0-dev
 Build-Conflicts: autoconf2.13, automake1.4
 Standards-Version: 3.7.3
 Homepage: http://stardict.sourceforge.net/
diff -Nru stardict-3.0.1.orig/src/lib/common.cpp stardict-3.0.1/src/lib/common.cpp
--- stardict-3.0.1.orig/src/lib/common.cpp	2007-09-24 21:27:24.000000000 -0500
+++ stardict-3.0.1/src/lib/common.cpp	2008-03-20 17:06:41.091653816 -0600
@@ -25,6 +25,8 @@
 #endif
 
 #include "common.hpp"
+#include <cstring>
+#include <cstdlib>
 
 static void parse_description(const char *p, long len, std::string &description)
 {
diff -Nru stardict-3.0.1.orig/src/lib/data.cpp stardict-3.0.1/src/lib/data.cpp
--- stardict-3.0.1.orig/src/lib/data.cpp	2007-09-20 20:09:52.000000000 -0500
+++ stardict-3.0.1/src/lib/data.cpp	2008-03-20 17:06:41.155657464 -0600
@@ -26,7 +26,7 @@
 
 #include "data.hpp"
 #include "getuint32.h"
-
+#include <cstring>
 
 DictBase::DictBase()
 {
diff -Nru stardict-3.0.1.orig/src/lib/http_client.h stardict-3.0.1/src/lib/http_client.h
--- stardict-3.0.1.orig/src/lib/http_client.h	2007-08-30 04:23:32.000000000 -0500
+++ stardict-3.0.1/src/lib/http_client.h	2008-03-20 15:57:32.287226926 -0600
@@ -5,6 +5,7 @@
 #include "sigc++/sigc++.h"
 #include <string>
 #include <vector>
+#include <cstring>
 
 #ifndef _WIN32
 #  include <netdb.h>
Binary files stardict-3.0.1.orig/src/lib/libstardict.a and stardict-3.0.1/src/lib/libstardict.a differ
diff -Nru stardict-3.0.1.orig/src/lib/pluginmanager.cpp stardict-3.0.1/src/lib/pluginmanager.cpp
--- stardict-3.0.1.orig/src/lib/pluginmanager.cpp	2007-10-09 22:26:45.000000000 -0500
+++ stardict-3.0.1/src/lib/pluginmanager.cpp	2008-03-20 15:59:47.050906671 -0600
@@ -1,6 +1,7 @@
 #include "pluginmanager.h"
 #include "file.hpp"
 #include <string>
+#include <cstring>
 
 StarDictPluginBaseObject::StarDictPluginBaseObject(const char *filename, GModule *module_, plugin_configure_func_t configure_func_):
 	plugin_filename(filename), module(module_), configure_func(configure_func_)
diff -Nru stardict-3.0.1.orig/src/lib/stardict_client.cpp stardict-3.0.1/src/lib/stardict_client.cpp
--- stardict-3.0.1.orig/src/lib/stardict_client.cpp	2007-10-31 02:32:11.000000000 -0600
+++ stardict-3.0.1/src/lib/stardict_client.cpp	2008-03-20 17:06:41.347668406 -0600
@@ -30,6 +30,8 @@
 #include "getuint32.h"
 
 #include "stardict_client.hpp"
+#include <cstdlib>
+#include <cstring>
 
 #define PROTOCOL_VERSION "0.3"
 
diff -Nru stardict-3.0.1.orig/src/lib/stddict.cpp stardict-3.0.1/src/lib/stddict.cpp
--- stardict-3.0.1.orig/src/lib/stddict.cpp	2007-10-30 03:06:07.000000000 -0600
+++ stardict-3.0.1/src/lib/stddict.cpp	2008-03-20 17:06:41.415672281 -0600
@@ -39,6 +39,7 @@
 #include "stddict.hpp"
 #include <algorithm>
 #include "getuint32.h"
+#include <cstring>
 
 static inline gint stardict_strcmp(const gchar *s1, const gchar *s2)
 {
diff -Nru stardict-3.0.1.orig/src/lib/treedict.cpp stardict-3.0.1/src/lib/treedict.cpp
--- stardict-3.0.1.orig/src/lib/treedict.cpp	2007-09-20 20:09:52.000000000 -0500
+++ stardict-3.0.1/src/lib/treedict.cpp	2008-03-20 17:06:41.471675473 -0600
@@ -29,6 +29,7 @@
 #include "getuint32.h"
 
 #include "treedict.hpp"
+#include <cstring>
 
 GtkTreeStore *TreeDict::model=NULL;
 

Reply via email to