rpms/scim-fcitx/devel scim-fcitx-3.1.1-gcc43.patch, NONE, 1.1 scim-fcitx.spec, 1.8, 1.9
Huang Peng (phuang)
fedora-extras-commits at redhat.com
Fri Feb 29 04:54:11 UTC 2008
Author: phuang
Update of /cvs/pkgs/rpms/scim-fcitx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4878
Modified Files:
scim-fcitx.spec
Added Files:
scim-fcitx-3.1.1-gcc43.patch
Log Message:
Fix build error with GCC 4.3
scim-fcitx-3.1.1-gcc43.patch:
--- NEW FILE scim-fcitx-3.1.1-gcc43.patch ---
diff -up fcitx/src/scim_fcitx_imengine.cpp.gcc43 fcitx/src/scim_fcitx_imengine.cpp
--- fcitx/src/scim_fcitx_imengine.cpp.gcc43 2008-02-29 10:55:21.000000000 +0800
+++ fcitx/src/scim_fcitx_imengine.cpp 2008-02-29 10:55:38.000000000 +0800
@@ -36,6 +36,7 @@
#define Uses_SCIM_CONFIG_PATH
#include <scim.h>
+#include <cstring>
#include "scim_fcitx_imengine.h"
#include "main.h"
#include "ime.h"
diff -up fcitx/src/sp.cpp.gcc43 fcitx/src/sp.cpp
--- fcitx/src/sp.cpp.gcc43 2008-02-29 10:56:32.000000000 +0800
+++ fcitx/src/sp.cpp 2008-02-29 10:56:46.000000000 +0800
@@ -11,6 +11,7 @@ using namespace scim;
#include <sys/stat.h>
#include <limits.h>
#include <ctype.h>
+#include <cstring>
#include "main.h"
#include "sp.h"
diff -up fcitx/src/ime.cpp.gcc43 fcitx/src/ime.cpp
--- fcitx/src/ime.cpp.gcc43 2008-02-29 10:55:50.000000000 +0800
+++ fcitx/src/ime.cpp 2008-02-29 10:56:03.000000000 +0800
@@ -5,6 +5,7 @@
#include <ctype.h>
#include <scim.h>
+#include <cstring>
#include "scim_fcitx_imengine.h"
using namespace scim;
Index: scim-fcitx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/scim-fcitx/devel/scim-fcitx.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- scim-fcitx.spec 19 Feb 2008 18:45:10 -0000 1.8
+++ scim-fcitx.spec 29 Feb 2008 04:53:31 -0000 1.9
@@ -1,6 +1,6 @@
Name: scim-fcitx
Version: 3.1.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: FCITX Input Method Engine for SCIM
Group: System Environment/Libraries
@@ -12,6 +12,8 @@
BuildRequires: scim-devel
Requires: scim
+Patch0: scim-fcitx-3.1.1-gcc43.patch
+
%description
scim-fcitx is a port of the fcitx Chinese input method for the SCIM input
method platform. It provides Wubi, Erbi, Cangjie, and Pinyin styles of input.
@@ -27,6 +29,7 @@
%prep
%setup -q -n fcitx
+%patch0 -p1 -b .1-gcc43
%build
@@ -60,6 +63,9 @@
%changelog
+* Fri Feb 29 2008 Huang Peng <phuang at redhat.com> - 3.1.1-9
+- Fix build error with GCC 4.3
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.1.1-8
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list