Date: Thursday, January 13, 2011 @ 16:44:25 Author: bisson Revision: 105894
minor upstream update, PKGBUILD cleanup, remove a few patches, add a new one Added: stardict/trunk/help-in-destdir.patch Modified: stardict/trunk/PKGBUILD Deleted: stardict/trunk/gtk_gthread_fixes.patch stardict/trunk/sigc++.patch stardict/trunk/stardict_gcc43.patch -------------------------+ PKGBUILD | 47 +++--- gtk_gthread_fixes.patch | 31 --- help-in-destdir.patch | 21 ++ sigc++.patch | 177 ---------------------- stardict_gcc43.patch | 357 ---------------------------------------------- 5 files changed, 46 insertions(+), 587 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-01-13 20:58:22 UTC (rev 105893) +++ PKGBUILD 2011-01-13 21:44:25 UTC (rev 105894) @@ -3,33 +3,36 @@ # Contributor: Neil Lin <[email protected]> pkgname=stardict -pkgver=3.0.1 -pkgrel=3 -pkgdesc="A powerful international dictionary written in Gtk2." -arch=(i686 x86_64) -url="http://stardict.sourceforge.net/" +pkgver=3.0.2 +pkgrel=1 +pkgdesc='A powerful international dictionary written in Gtk2.' +arch=('i686' 'x86_64') +url='http://stardict.sourceforge.net/' license=('GPL') -depends=('enchant' 'gtk2>=2.16.1' 'libsigc++2.0' 'libsm') -makedepends=('intltool' 'popt') +depends=('enchant' 'gtk2' 'libsigc++' 'libsm') +makedepends=('intltool' 'popt' 'gnome-doc-utils') options=('!libtool' '!emptydirs') -source=(http://downloads.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2 - stardict_gcc43.patch - sigc++.patch) -md5sums=('93bb2d7825bc9d52a4f9ba4c1c506d1d' - '25755f13686e22ad28239fa11049f14d' - '5bf0232225dab4e62a8bd08eb2ec581c') +source=("http://downloads.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2" + 'help-in-destdir.patch') +sha1sums=('301875657cd39b5f25e5933ece22936a28db1230' + '2016db86bb10782701c94777ebf67455282ca163') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i $srcdir/sigc++.patch || return 1 - patch -Np1 -i $srcdir/stardict_gcc43.patch || return 1 + export LDFLAGS="${LDFLAGS// -Wl,--as-needed/}" + patch -p1 -i ../help-in-destdir.patch - ./configure PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr --sysconfdir=/etc \ - --mandir=/usr/share/man --disable-gnome-support --disable-schemas-install \ - --disable-espeak --disable-gucharmap --disable-festival --disable-advertisement \ - --disable-updateinfo || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 + ./configure PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr \ + --sysconfdir=/etc --mandir=/usr/share/man \ + --disable-gnome-support --disable-schemas-install \ + --disable-espeak --disable-gucharmap \ + --disable-festival --disable-updateinfo + make } + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} Deleted: gtk_gthread_fixes.patch =================================================================== --- gtk_gthread_fixes.patch 2011-01-13 20:58:22 UTC (rev 105893) +++ gtk_gthread_fixes.patch 2011-01-13 21:44:25 UTC (rev 105894) @@ -1,31 +0,0 @@ ---- a/src/prefsdlg.cpp 2007-09-12 23:37:46.000000000 -0500 -+++ b/src/prefsdlg.cpp 2007-09-12 23:38:54.000000000 -0500 -@@ -726,7 +726,7 @@ - GtkWidget *vbox1 = gtk_vbox_new(false, 6); - gtk_box_pack_start(GTK_BOX(vbox),vbox1,false,false, 0); - -- GtkWidget *check_button; -+ GtkWidget *check_button, *label; - check_button = gtk_check_button_new_with_mnemonic(_("_Enable sound event.")); - bool enable= - conf->get_bool_at("dictionary/enable_sound_event"); -@@ -748,7 +748,7 @@ - gtk_box_pack_start(GTK_BOX(vbox1), hbox2, FALSE, FALSE, 0); - #endif - -- GtkWidget *label = gtk_label_new(_("RealPeopleTTS search path:")); -+ label = gtk_label_new(_("RealPeopleTTS search path:")); - gtk_misc_set_alignment(GTK_MISC(label), 0, .5); - gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0); - tts_textview = gtk_text_view_new(); ---- a/configure.in 2007-09-12 23:52:01.000000000 -0500 -+++ b/configure.in 2007-09-12 23:52:33.000000000 -0500 -@@ -192,7 +192,7 @@ - elif test "x${enable_maemo_support}" = "xyes" ; then - DEP_MODULES="gtk+-2.0 >= 2.6 gconf-2.0 >= 2.6 hildon-libs >= 0.12" - elif test "x${enable_gnome_support}" = "xno" ; then -- DEP_MODULES="gtk+-2.0 >= 2.6" -+ DEP_MODULES="gtk+-2.0 >= 2.6 gthread-2.0" - else - DEP_MODULES="libgnomeui-2.0 >= 2.2.0" - fi Added: help-in-destdir.patch =================================================================== --- help-in-destdir.patch (rev 0) +++ help-in-destdir.patch 2011-01-13 21:44:25 UTC (rev 105894) @@ -0,0 +1,21 @@ +diff -aur old/help/Makefile.in new/help/Makefile.in +--- old/help/Makefile.in 2011-01-11 17:04:09.000000000 +0100 ++++ new/help/Makefile.in 2011-01-13 21:46:53.250005822 +0100 +@@ -1066,7 +1066,7 @@ + @GNOME_SUPPORT_TRUE@stardict-install-html: + @GNOME_SUPPORT_FALSE@stardict-install-html: + @GNOME_SUPPORT_FALSE@ for lc in $(STARDICT_ALL_LINGUAS); do \ +-@GNOME_SUPPORT_FALSE@ install_dir=$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \ ++@GNOME_SUPPORT_FALSE@ install_dir=$(DESTDIR)$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \ + @GNOME_SUPPORT_FALSE@ htmldir=$(srcdir)/$${lc}/html; \ + @GNOME_SUPPORT_FALSE@ for file in `find $${htmldir} -type f -print`; do \ + @GNOME_SUPPORT_FALSE@ relfile=$${file#$${htmldir}/}; \ +@@ -1085,7 +1085,7 @@ + @GNOME_SUPPORT_TRUE@stardict-uninstall-html: + @GNOME_SUPPORT_FALSE@stardict-uninstall-html: + @GNOME_SUPPORT_FALSE@ for lc in $(STARDICT_ALL_LINGUAS); do \ +-@GNOME_SUPPORT_FALSE@ install_dir=$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \ ++@GNOME_SUPPORT_FALSE@ install_dir=$(DESTDIR)$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \ + @GNOME_SUPPORT_FALSE@ rm -rf $${install_dir}; \ + @GNOME_SUPPORT_FALSE@ done; + Deleted: sigc++.patch =================================================================== --- sigc++.patch 2011-01-13 20:58:22 UTC (rev 105893) +++ sigc++.patch 2011-01-13 21:44:25 UTC (rev 105894) @@ -1,177 +0,0 @@ -diff -Naur stardict-3.0.1.orig/src/gconf_file.cpp stardict-3.0.1/src/gconf_file.cpp ---- stardict-3.0.1.orig/src/gconf_file.cpp 2007-07-10 08:16:04.000000000 +0100 -+++ stardict-3.0.1/src/gconf_file.cpp 2008-04-11 18:18:43.000000000 +0100 -@@ -22,6 +22,8 @@ - # include "config.h" - #endif - -+#include <memory> -+ - #include <glib/gi18n.h> - - #include "gconf_file.hpp" -diff -Naur stardict-3.0.1.orig/src/inifile.cpp stardict-3.0.1/src/inifile.cpp ---- stardict-3.0.1.orig/src/inifile.cpp 2007-08-01 10:43:00.000000000 +0100 -+++ stardict-3.0.1/src/inifile.cpp 2008-04-11 18:18:43.000000000 +0100 -@@ -25,6 +25,7 @@ - #include <vector> - #include <cerrno> - #include <cstring> -+#include <cstdlib> - #include <cstdio> - #include <glib/gi18n.h> - #include <glib/gstdio.h> -diff -Naur stardict-3.0.1.orig/src/pangoview.cpp stardict-3.0.1/src/pangoview.cpp ---- stardict-3.0.1.orig/src/pangoview.cpp 2007-09-25 08:11:48.000000000 +0100 -+++ stardict-3.0.1/src/pangoview.cpp 2008-04-11 18:18:43.000000000 +0100 -@@ -22,6 +22,8 @@ - # include "config.h" - #endif - -+#include <cstring> -+ - #include "gtktextviewpango.h" - #include "utils.h" - #include "skin.h"//for SkinCursor definition -diff -Naur stardict-3.0.1.orig/src/prefsdlg.cpp stardict-3.0.1/src/prefsdlg.cpp ---- stardict-3.0.1.orig/src/prefsdlg.cpp 2007-10-30 08:14:07.000000000 +0000 -+++ stardict-3.0.1/src/prefsdlg.cpp 2008-04-11 18:18:43.000000000 +0100 -@@ -21,6 +21,8 @@ - # include "config.h" - #endif - -+#include <cstdlib> -+ - #include <glib/gi18n.h> - #include <glib/gstdio.h> - -diff -Naur stardict-3.0.1.orig/src/readword.cpp stardict-3.0.1/src/readword.cpp ---- stardict-3.0.1.orig/src/readword.cpp 2007-07-10 08:16:04.000000000 +0100 -+++ stardict-3.0.1/src/readword.cpp 2008-04-11 17:53:43.000000000 +0100 -@@ -3,6 +3,7 @@ - #endif - - #include <cstring> -+#include <cstdlib> - #include <string> - - #include <glib/gi18n.h> -diff -Naur stardict-3.0.1.orig/src/sigc++/signal.h stardict-3.0.1/src/sigc++/signal.h ---- stardict-3.0.1.orig/src/sigc++/signal.h 2007-07-10 08:16:01.000000000 +0100 -+++ stardict-3.0.1/src/sigc++/signal.h 2008-04-11 17:50:11.000000000 +0100 -@@ -18,7 +18,7 @@ - //Compilers, such as older versions of SUN Forte C++, that do not allow this also often - //do not allow a typedef to have the same name as a class in the typedef's definition. - //For Sun Forte CC 5.7 (SUN Workshop 10), comment this out to fix the build. -- #define SIGC_TYPEDEF_REDEFINE_ALLOWED 1 -+// #define SIGC_TYPEDEF_REDEFINE_ALLOWED 1 - #endif - - namespace sigc { -diff -Naur stardict-3.0.1.orig/src/utils.cpp stardict-3.0.1/src/utils.cpp ---- stardict-3.0.1.orig/src/utils.cpp 2007-10-22 03:25:02.000000000 +0100 -+++ stardict-3.0.1/src/utils.cpp 2008-04-11 18:18:43.000000000 +0100 -@@ -22,6 +22,8 @@ - # include "config.h" - #endif - -+#include <cstring> -+ - #include <glib.h> - #include <glib/gi18n.h> - #include <cstdlib> -diff -Naur stardict-3.0.1.orig/src/x11_iskeyspressed.hpp stardict-3.0.1/src/x11_iskeyspressed.hpp ---- stardict-3.0.1.orig/src/x11_iskeyspressed.hpp 2007-07-10 08:16:04.000000000 +0100 -+++ stardict-3.0.1/src/x11_iskeyspressed.hpp 2008-04-11 17:57:08.000000000 +0100 -@@ -1,6 +1,8 @@ - #ifndef _X11_ISKEYSPRESSED_HPP_ - #define _X11_ISKEYSPRESSED_HPP_ - -+#include <memory> -+ - #include <gdk/gdkx.h> - #include <X11/keysym.h> - #include <gtk/gtk.h> - - #ifdef _WIN32 -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2007-09-19 09:27:18.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2008-04-11 18:02:55.000000000 +0100 -@@ -1,4 +1,5 @@ - #include "stardict_espeak.h" -+#include <cstring> - #include <espeak/speak_lib.h> - #include <glib/gi18n.h> - -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2007-09-13 08:51:55.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2008-04-11 17:59:50.000000000 +0100 -@@ -1,4 +1,6 @@ - #include "stardict_html_parsedata.h" -+#include <cstring> -+#include <cstdlib> - #include <glib/gi18n.h> - - #ifdef _WIN32 - -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2007-09-19 09:29:21.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2008-04-11 18:02:38.000000000 +0100 -@@ -1,4 +1,5 @@ - #include "stardict_spell.h" -+#include <cstring> - #include <glib.h> - #include <glib/gi18n.h> - #include <enchant.h> - -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2007-10-18 02:36:22.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2008-04-11 18:01:10.000000000 +0100 -@@ -1,4 +1,5 @@ - #include "court_widget.h" -+#include <cstring> - #include <math.h> - #include <list> - -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2007-10-15 04:32:04.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2008-04-11 18:00:35.000000000 +0100 -@@ -1,5 +1,6 @@ - #include "stardict_wordnet.h" - #include "court_widget.h" -+#include <cstring> - #include <glib/gi18n.h> - - #ifdef _WIN32 - -diff -Naur stardict-3.0.1.orig/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp ---- stardict-3.0.1.orig/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2007-08-31 07:41:54.000000000 +0100 -+++ stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2008-04-11 18:00:12.000000000 +0100 -@@ -1,4 +1,5 @@ - #include "stardict_xdxf_parsedata.h" -+#include <cstring> - #include <glib/gi18n.h> - - #ifdef _WIN32 -diff -Naur stardict-3.0.1.orig/tests/t_config_file.cpp stardict-3.0.1/tests/t_config_file.cpp ---- stardict-3.0.1.orig/tests/t_config_file.cpp 2007-07-10 08:16:04.000000000 +0100 -+++ stardict-3.0.1/tests/t_config_file.cpp 2008-04-11 18:04:13.000000000 +0100 -@@ -8,6 +8,7 @@ - #include <cstring> - #include <iterator> - #include <iostream> -+#include <memory> - #include <gtk/gtk.h> - - #include "config_file.hpp" -diff -Naur stardict-3.0.1.orig/tests/t_xml.cpp stardict-3.0.1/tests/t_xml.cpp ---- stardict-3.0.1.orig/tests/t_xml.cpp 2007-07-10 08:16:04.000000000 +0100 -+++ stardict-3.0.1/tests/t_xml.cpp 2008-04-11 18:04:58.000000000 +0100 -@@ -5,6 +5,7 @@ - #include <glib.h> - #include <cstdlib> - #include <string> -+#include <cstring> - - - static void xml_decode(const char *str, std::string& decoded) Deleted: stardict_gcc43.patch =================================================================== --- stardict_gcc43.patch 2011-01-13 20:58:22 UTC (rev 105893) +++ stardict_gcc43.patch 2011-01-13 21:44:25 UTC (rev 105894) @@ -1,357 +0,0 @@ ---- stardict-3.0.1/src/Makefile.am.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/src/Makefile.am 2008-02-26 19:35:12.000000000 +0900 -@@ -14,6 +14,8 @@ - - bin_PROGRAMS = stardict - -+DEFAULT_INCLUDES = -I$(top_builddir) -+ - INCLUDES = \ - $(STARDICT_CFLAGS) \ - $(LOCAL_SIGCPP_INCLUDE) \ - ---- stardict-3.0.1/src/config_file.hpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/src/config_file.hpp 2008-02-26 19:35:00.000000000 +0900 -@@ -5,7 +5,7 @@ - #include <list> - #include <string> - --#include "sigc++/sigc++.h" -+#include <sigc++/sigc++.h> - - class config_file; - ---- stardict-3.0.1/src/gconf_file.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/src/gconf_file.cpp 2008-02-26 19:37:18.000000000 +0900 -@@ -22,6 +22,7 @@ - # include "config.h" - #endif - -+#include <memory> - #include <glib/gi18n.h> - - #include "gconf_file.hpp" - ---- stardict-3.0.1/src/gtk_iskeyspressed.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/src/gtk_iskeyspressed.cpp 2008-02-26 19:37:35.000000000 +0900 -@@ -97,7 +97,7 @@ - GDK_BUTTON5_MASK = 1 << 12, - */ - -- mask = GdkModifierType(guint(mask) & (1<<13)-1); -+ mask = GdkModifierType(guint(mask) & ((1<<13)-1)); - - mask = - GdkModifierType(guint(mask) & ~(GDK_LOCK_MASK | GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | - ---- stardict-3.0.1/src/inifile.cpp.gcc43 2007-08-01 18:43:00.000000000 +0900 -+++ stardict-3.0.1/src/inifile.cpp 2008-02-26 19:37:51.000000000 +0900 -@@ -28,6 +28,7 @@ - #include <cstdio> - #include <glib/gi18n.h> - #include <glib/gstdio.h> -+#include <stdlib.h> - - #include "utils.h" - ---- stardict-3.0.1/src/lib/common.cpp.gcc43 2007-09-25 11:27:24.000000000 +0900 -+++ stardict-3.0.1/src/lib/common.cpp 2008-02-26 19:34:01.000000000 +0900 -@@ -24,6 +24,8 @@ - # include "config.h" - #endif - -+#include <cstring> -+#include <stdlib.h> - #include "common.hpp" - - static void parse_description(const char *p, long len, std::string &description) - ---- stardict-3.0.1/src/lib/data.cpp.gcc43 2007-09-21 10:09:52.000000000 +0900 -+++ stardict-3.0.1/src/lib/data.cpp 2008-02-26 19:33:38.000000000 +0900 -@@ -26,6 +26,8 @@ - - #include "data.hpp" - #include "getuint32.h" -+#include <cstring> -+#include <cstdio> - - - DictBase::DictBase() - ---- stardict-3.0.1/src/lib/http_client.cpp.gcc43 2007-09-06 17:29:30.000000000 +0900 -+++ stardict-3.0.1/src/lib/http_client.cpp 2008-02-26 19:34:27.000000000 +0900 -@@ -4,6 +4,7 @@ - - #include "http_client.h" - #include "sockets.hpp" -+#include <cstring> - - sigc::signal<void, HttpClient *, const char *> HttpClient::on_error_; - sigc::signal<void, HttpClient *> HttpClient::on_response_; - ---- stardict-3.0.1/src/lib/pluginmanager.cpp.gcc43 2007-10-10 12:26:45.000000000 +0900 -+++ stardict-3.0.1/src/lib/pluginmanager.cpp 2008-02-26 19:34:36.000000000 +0900 -@@ -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_) - ---- stardict-3.0.1/src/lib/stardict_client.cpp.gcc43 2007-10-31 17:32:11.000000000 +0900 -+++ stardict-3.0.1/src/lib/stardict_client.cpp 2008-02-26 19:34:16.000000000 +0900 -@@ -25,6 +25,9 @@ - #include <glib.h> - #include <glib/gi18n.h> - -+#include <cstring> -+#include <stdlib.h> -+#include <cstdio> - #include "sockets.hpp" - #include "md5.h" - #include "getuint32.h" - ---- stardict-3.0.1/src/lib/stddict.cpp.gcc43 2007-10-30 18:06:07.000000000 +0900 -+++ stardict-3.0.1/src/lib/stddict.cpp 2008-02-26 19:33:46.000000000 +0900 -@@ -28,6 +28,7 @@ - # include "config.h" - #endif - -+#include <cstring> - #include <glib/gi18n.h> - #include <glib/gstdio.h> - ---- stardict-3.0.1/src/lib/treedict.cpp.gcc43 2007-09-21 10:09:52.000000000 +0900 -+++ stardict-3.0.1/src/lib/treedict.cpp 2008-02-26 19:33:52.000000000 +0900 -@@ -25,6 +25,7 @@ - # include "config.h" - #endif - -+#include <cstring> - #include "file.hpp" - #include "getuint32.h" - ---- stardict-3.0.1/src/pangoview.cpp.gcc43 2007-09-25 16:11:48.000000000 +0900 -+++ stardict-3.0.1/src/pangoview.cpp 2008-02-26 19:37:02.000000000 +0900 -@@ -22,6 +22,7 @@ - # include "config.h" - #endif - -+#include <cstring> - #include "gtktextviewpango.h" - #include "utils.h" - #include "skin.h"//for SkinCursor definition - ---- stardict-3.0.1/src/utils.cpp.gcc43 2007-10-22 11:25:02.000000000 +0900 -+++ stardict-3.0.1/src/utils.cpp 2008-02-26 19:36:01.000000000 +0900 -@@ -22,6 +22,7 @@ - # include "config.h" - #endif - -+#include <cstring> - #include <glib.h> - #include <glib/gi18n.h> - #include <cstdlib> - ---- stardict-3.0.1/src/x11_iskeyspressed.hpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/src/x11_iskeyspressed.hpp 2008-02-27 16:16:17.000000000 +0900 -@@ -5,6 +5,8 @@ - #include <X11/keysym.h> - #include <gtk/gtk.h> - -+#include <memory> -+ - #include "iskeyspressed.hpp" - - typedef enum { SYM, CODE, BUTTON } KeyType_t; - ---- stardict-3.0.1/stardict-plugins/stardict-advertisement-plugin/advertisement.cpp.gcc43 2007-09-21 10:09:53.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-advertisement-plugin/advertisement.cpp 2008-02-26 19:39:34.000000000 +0900 -@@ -2,6 +2,7 @@ - #include <glib.h> - #include <glib/gi18n.h> - #include <glib/gstdio.h> -+#include <cstring> - #include <string> - #include <map> - #include <list> - ---- stardict-3.0.1/stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp.gcc43 2007-10-10 18:28:29.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp 2008-02-26 19:38:56.000000000 +0900 -@@ -1,5 +1,6 @@ - #include "stardict_dictdotcn.h" - #include <glib/gi18n.h> -+#include <cstring> - #include <string> - #include <list> - ---- stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp.gcc43 2007-09-19 17:27:18.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2008-02-26 19:45:43.000000000 +0900 -@@ -1,6 +1,7 @@ - #include "stardict_espeak.h" - #include <espeak/speak_lib.h> - #include <glib/gi18n.h> -+#include <cstring> - - static const StarDictPluginSystemInfo *plugin_info = NULL; - static std::string voice_engine; - ---- stardict-3.0.1/stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp.gcc43 2007-08-31 16:10:41.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp 2008-02-26 19:45:27.000000000 +0900 -@@ -1,6 +1,8 @@ - #include "stardict_gucharmap.h" - #include <glib/gi18n.h> - #include <gucharmap/gucharmap.h> -+#include <stdlib.h> -+#include <cstring> - #include <string> - - static char *build_dictdata(char type, const char *definition) - ---- stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp.gcc43 2007-09-13 16:51:55.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2008-02-26 19:41:11.000000000 +0900 -@@ -1,5 +1,7 @@ - #include "stardict_html_parsedata.h" - #include <glib/gi18n.h> -+#include <cstring> -+#include <stdlib.h> - - #ifdef _WIN32 - #include <windows.h> - ---- stardict-3.0.1/stardict-plugins/stardict-man-plugin/stardict_man.cpp.gcc43 2007-09-19 17:30:54.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-man-plugin/stardict_man.cpp 2008-02-26 19:40:22.000000000 +0900 -@@ -1,5 +1,6 @@ - #include "stardict_man.h" - #include <glib/gi18n.h> -+#include <cstring> - #include <string> - - static const StarDictPluginSystemInfo *plugin_info = NULL; - ---- stardict-3.0.1/stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp.gcc43 2007-10-25 17:16:37.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp 2008-02-26 19:44:06.000000000 +0900 -@@ -1,4 +1,5 @@ - #include "stardict_powerword_parsedata.h" -+#include <cstring> - #include <glib/gi18n.h> - - #ifdef _WIN32 - ---- stardict-3.0.1/stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp.gcc43 2007-11-02 17:41:26.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp 2008-02-26 19:45:57.000000000 +0900 -@@ -1,6 +1,8 @@ - #include "stardict_qqwry.h" - #include <glib/gi18n.h> - #include <glib/gstdio.h> -+#include <cstring> -+#include <stdlib.h> - #include <string> - - #ifdef _WIN32 - ---- stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp.gcc43 2007-09-19 17:29:21.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2008-02-26 19:45:13.000000000 +0900 -@@ -3,6 +3,7 @@ - #include <glib/gi18n.h> - #include <enchant.h> - #include <pango/pango.h> -+#include <cstring> - #include <string> - #include <vector> - ---- stardict-3.0.1/stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp.gcc43 2007-09-19 17:34:36.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp 2008-02-26 19:40:46.000000000 +0900 -@@ -1,5 +1,7 @@ - #include "stardict_update_info.h" - #include <glib/gi18n.h> -+#include <cstring> -+#include <stdlib.h> - - #ifdef _WIN32 - #include <windows.h> - ---- stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp.gcc43 2007-07-10 16:16:15.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp 2008-02-26 19:45:00.000000000 +0900 -@@ -1,5 +1,6 @@ - #include "stardict_wiki2xml.h" - #include "WIKI2XML.h" -+#include <cstring> - #include <glib.h> - - std::string wiki2xml(std::string &str) - ---- stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp.gcc43 2007-08-31 15:41:21.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp 2008-02-26 19:44:40.000000000 +0900 -@@ -1,5 +1,6 @@ - #include "stardict_wiki_parsedata.h" - #include "stardict_wiki2xml.h" -+#include <cstring> - #include <glib/gi18n.h> - - #ifdef _WIN32 - ---- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp.gcc43 2007-10-18 10:36:22.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2008-02-26 19:42:25.000000000 +0900 -@@ -1,6 +1,7 @@ - #include "court_widget.h" - #include <math.h> - #include <list> -+#include <cstring> - - - wnobj::wnobj(partic_t & p, unsigned int t) : _p(p), _t(t), highlight(false) - ---- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp.gcc43 2007-10-15 12:32:04.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2008-02-26 19:42:05.000000000 +0900 -@@ -1,6 +1,7 @@ - #include "stardict_wordnet.h" - #include "court_widget.h" - #include <glib/gi18n.h> -+#include <cstring> - - #ifdef _WIN32 - #include <windows.h> - ---- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp.gcc43 2007-10-10 18:39:10.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp 2008-02-26 19:43:21.000000000 +0900 -@@ -1,4 +1,5 @@ - #include "stardict_wordnet_parsedata.h" -+#include <cstring> - #include <glib/gi18n.h> - - #ifdef _WIN32 - ---- stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp.gcc43 2007-08-31 15:41:54.000000000 +0900 -+++ stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2008-02-26 19:41:36.000000000 +0900 -@@ -1,5 +1,6 @@ - #include "stardict_xdxf_parsedata.h" - #include <glib/gi18n.h> -+#include <cstring> - - #ifdef _WIN32 - #include <windows.h> - ---- stardict-3.0.1/tests/t_config_file.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/tests/t_config_file.cpp 2008-02-26 19:38:14.000000000 +0900 -@@ -2,6 +2,7 @@ - # include "config.h" - #endif - -+#include <memory> - #include <cerrno> - #include <cstdio> - #include <cstdlib> - ---- stardict-3.0.1/tests/t_xml.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900 -+++ stardict-3.0.1/tests/t_xml.cpp 2008-02-26 19:38:04.000000000 +0900 -@@ -3,6 +3,7 @@ - #endif - - #include <glib.h> -+#include <cstring> - #include <cstdlib> - #include <string> -
