rpms/scim-anthy/devel scim-anthy-1.2.4-gcc43.patch, NONE, 1.1 scim-anthy.spec, 1.47, 1.48

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Thu Jan 31 07:25:37 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/scim-anthy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5591

Modified Files:
	scim-anthy.spec 
Added Files:
	scim-anthy-1.2.4-gcc43.patch 
Log Message:
* Thu Jan 31 2008 Akira TAGOH <tagoh at redhat.com> - 1.2.4-3
- scim-anthy-1.2.4-gcc43.patch: Fix a build fail with gcc-4.3.

scim-anthy-1.2.4-gcc43.patch:

--- NEW FILE scim-anthy-1.2.4-gcc43.patch ---
diff -pruN scim-anthy-1.2.4.orig/src/scim_anthy_kana.cpp scim-anthy-1.2.4/src/scim_anthy_kana.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_kana.cpp	2006-07-13 16:41:51.000000000 +0900
+++ scim-anthy-1.2.4/src/scim_anthy_kana.cpp	2008-01-31 16:01:23.000000000 +0900
@@ -17,6 +17,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <string.h>
 #include "scim_anthy_kana.h"
 #include "scim_anthy_factory.h"
 #include "scim_anthy_imengine.h"
diff -pruN scim-anthy-1.2.4.orig/src/scim_anthy_preedit.cpp scim-anthy-1.2.4/src/scim_anthy_preedit.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_preedit.cpp	2006-07-24 10:56:00.000000000 +0900
+++ scim-anthy-1.2.4/src/scim_anthy_preedit.cpp	2008-01-31 15:42:07.000000000 +0900
@@ -21,6 +21,7 @@
   #include <config.h>
 #endif
 
+#include <string.h>
 #include "scim_anthy_factory.h"
 #include "scim_anthy_imengine.h"
 #include "scim_anthy_preedit.h"
diff -pruN scim-anthy-1.2.4.orig/src/scim_anthy_prefs.cpp scim-anthy-1.2.4/src/scim_anthy_prefs.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_prefs.cpp	2006-07-24 10:56:00.000000000 +0900
+++ scim-anthy-1.2.4/src/scim_anthy_prefs.cpp	2008-01-31 16:15:26.000000000 +0900
@@ -19,6 +19,7 @@
  */
 
 #define SCIM_ANTHY_USE_GTK
+#include <string.h>
 #include <scim.h>
 #include "scim_anthy_prefs.h"
 #include "scim_anthy_intl.h"
diff -pruN scim-anthy-1.2.4.orig/src/scim_anthy_setup.cpp scim-anthy-1.2.4/src/scim_anthy_setup.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_setup.cpp	2007-05-21 17:22:20.000000000 +0900
+++ scim-anthy-1.2.4/src/scim_anthy_setup.cpp	2008-01-31 16:07:45.000000000 +0900
@@ -27,6 +27,7 @@
   #include <config.h>
 #endif
 
+#include <string.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
diff -pruN scim-anthy-1.2.4.orig/src/scim_anthy_utils.cpp scim-anthy-1.2.4/src/scim_anthy_utils.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_utils.cpp	2007-03-28 16:42:10.000000000 +0900
+++ scim-anthy-1.2.4/src/scim_anthy_utils.cpp	2008-01-31 15:50:49.000000000 +0900
@@ -17,6 +17,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <string.h>
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <unistd.h>


Index: scim-anthy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/scim-anthy/devel/scim-anthy.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- scim-anthy.spec	31 Oct 2007 07:38:03 -0000	1.47
+++ scim-anthy.spec	31 Jan 2008 07:24:58 -0000	1.48
@@ -1,13 +1,14 @@
 Name:           scim-anthy
 Version:        1.2.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 License:        GPLv2+
 URL:            http://scim-imengine.sourceforge.jp/
-Source0:        http://dl.sourceforge.jp/scim-imengine/25404/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  scim-devel
 BuildRequires:  anthy-devel >= 6700b-1 gettext-devel automake autoconf libtool
+Source0:        http://dl.sourceforge.jp/scim-imengine/25404/%{name}-%{version}.tar.gz
+Patch0:		scim-anthy-1.2.4-gcc43.patch
 
 Summary:        SCIM IMEngine for anthy for Japanese input
 Group:          System Environment/Libraries
@@ -24,6 +25,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc43
 
 
 %build
@@ -55,6 +57,9 @@
 
 
 %changelog
+* Thu Jan 31 2008 Akira TAGOH <tagoh at redhat.com> - 1.2.4-3
+- scim-anthy-1.2.4-gcc43.patch: Fix a build fail with gcc-4.3.
+
 * Wed Oct 31 2007 Akira TAGOH <tagoh at redhat.com>
 - Update the source url.
 




More information about the fedora-extras-commits mailing list