Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=eb7bd0c1bed552bdaf6e3d34edd571a2accd4ebe

commit eb7bd0c1bed552bdaf6e3d34edd571a2accd4ebe
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Aug 19 15:44:01 2009 +0200

scim-pinyin-0.5.91-3-i686

- add gcc44.patch

diff --git a/source/xapps-extra/scim-pinyin/FrugalBuild 
b/source/xapps-extra/scim-pinyin/FrugalBuild
index 885aefb..65e2c78 100644
--- a/source/xapps-extra/scim-pinyin/FrugalBuild
+++ b/source/xapps-extra/scim-pinyin/FrugalBuild
@@ -3,16 +3,17 @@

pkgname=scim-pinyin
pkgver=0.5.91
-pkgrel=2
+pkgrel=3
pkgdesc="Chinese (PinYin) input method for SCIM."
_F_sourceforge_dirname="scim"
Finclude sourceforge
url="http://www.scim-im.org/";
-depends=('scim>=1.4.7')
-## skim too for the plugin  as subpkg() but is broken now
+depends=('scim>=1.4.9')
options=('scriptlet')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-sha1sums=('58bea437a211b7af8420057541a38933a41841c7')
+source=($source gcc44.patch)
+sha1sums=('58bea437a211b7af8420057541a38933a41841c7' \
+          '06236eef60a0b3957b2f7a3102bdeaad7a4b76e1')

# optimization OK
diff --git a/source/xapps-extra/scim-pinyin/gcc44.patch 
b/source/xapps-extra/scim-pinyin/gcc44.patch
new file mode 100644
index 0000000..c5ce377
--- /dev/null
+++ b/source/xapps-extra/scim-pinyin/gcc44.patch
@@ -0,0 +1,48 @@
+diff --git a/src/scim_phrase.cpp b/src/scim_phrase.cpp
+index b8618ca..2534c5f 100644
+--- a/src/scim_phrase.cpp
++++ b/src/scim_phrase.cpp
+@@ -28,6 +28,7 @@
+ #define SCIM_PHRASE_MAX_RELATION 1000
+
+ #include <scim.h>
++#include <string.h>
+ #include "scim_pinyin_private.h"
+ #include "scim_phrase.h"
+
+diff --git a/src/scim_pinyin.cpp b/src/scim_pinyin.cpp
+index 0c281ec..6ee795e 100644
+--- a/src/scim_pinyin.cpp
++++ b/src/scim_pinyin.cpp
+@@ -29,6 +29,7 @@
+ #define Uses_SCIM_LOOKUP_TABLE
+
+ #include <scim.h>
++#include <string.h>
+ #include "scim_pinyin.h"
+
+ // Internal functions
+diff --git a/src/scim_pinyin_phrase.cpp b/src/scim_pinyin_phrase.cpp
+index e44e9df..fce993c 100644
+--- a/src/scim_pinyin_phrase.cpp
++++ b/src/scim_pinyin_phrase.cpp
+@@ -27,6 +27,7 @@
+ #define Uses_SCIM_LOOKUP_TABLE
+
+ #include <scim.h>
++#include <string.h>
+ #include "scim_pinyin_private.h"
+ #include "scim_phrase.h"
+ #include "scim_pinyin.h"
+diff --git a/src/scim_special_table.cpp b/src/scim_special_table.cpp
+index 6a46e8f..e1c7cc7 100644
+--- a/src/scim_special_table.cpp
++++ b/src/scim_special_table.cpp
+@@ -22,6 +22,7 @@
+
+ #include <time.h>
+ #include <scim.h>
++#include <string.h>
+ #include "scim_pinyin_private.h"
+ #include "scim_special_table.h"
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to