Hello community,
here is the log from the commit of package scim-chewing
checked in at Fri Nov 9 00:49:17 CET 2007.
--------
--- scim-chewing/scim-chewing.changes 2006-10-28 23:42:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/scim-chewing/scim-chewing.changes 2007-11-08 16:45:27.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Nov 08 16:45:20 CET 2007 - mfabian@suse.de
+
+- add missing includes to fix build with gcc 4.3.0.
+
+-------------------------------------------------------------------
New:
----
missing-includes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scim-chewing.spec ++++++
--- /var/tmp/diff_new_pack.S27302/_old 2007-11-09 00:48:40.000000000 +0100
+++ /var/tmp/diff_new_pack.S27302/_new 2007-11-09 00:48:40.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package scim-chewing (Version 0.3.1)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -13,14 +13,15 @@
Name: scim-chewing
BuildRequires: gcc-c++ gtk2-devel libchewing-devel perl-XML-Parser scim-devel update-desktop-files
Version: 0.3.1
-Release: 19
-License: GNU General Public License (GPL) - all versions
+Release: 133
+License: GPL v2 or later
Group: System/I18n/Chinese
-Autoreqprov: on
+AutoReqProv: on
Provides: locale(scim:zh_TW;zh_HK)
PreReq: gconf2 libxml2 orbit2 glib2
-URL: http://chewing.csie.net/
+Url: http://chewing.csie.net/
Source0: http://chewing.csie.net/download/scim/scim-chewing-0.3.1.tar.bz2
+Patch0: missing-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: chewing input method module for SCIM
@@ -37,6 +38,7 @@
%prep
%define scim_binary_version %(pkg-config --variable=scim_binary_version scim)
%setup -q -n %{name}-%{version}
+%patch0 -p1
%build
#libtoolize --force
@@ -57,7 +59,6 @@
%find_lang scim-chewing
%clean
-#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files -f scim-chewing.lang
%defattr(-, root, root)
@@ -70,8 +71,9 @@
%{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/chewing-imengine-setup.so
%dir %{_datadir}/scim/icons/
%{_datadir}/scim/icons/*.png
-
-%changelog -n scim-chewing
+%changelog
+* Thu Nov 08 2007 - mfabian@suse.de
+- add missing includes to fix build with gcc 4.3.0.
* Sat Oct 28 2006 - meissner@suse.de
- fixed optflags.
* Thu Oct 12 2006 - mfabian@suse.de
++++++ missing-includes.patch ++++++
diff -ru scim-chewing-0.3.1.orig/src/scim_chewing_imengine.cpp scim-chewing-0.3.1/src/scim_chewing_imengine.cpp
--- scim-chewing-0.3.1.orig/src/scim_chewing_imengine.cpp 2006-05-30 17:06:34.000000000 +0200
+++ scim-chewing-0.3.1/src/scim_chewing_imengine.cpp 2007-11-08 16:44:29.000000000 +0100
@@ -43,6 +43,8 @@
#define SCIM_CHEWING_SELECTION_KEYS_NUM_DEF 9
static int _selection_keys_num;
+#include