rpms/kasumi/devel kasumi-2.3-gcc43.patch, NONE, 1.1 kasumi.spec, 1.26, 1.27

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Tue Feb 19 08:03:42 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/kasumi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6233

Modified Files:
	kasumi.spec 
Added Files:
	kasumi-2.3-gcc43.patch 
Log Message:
* Tue Feb 19 2008 Akira TAGOH <tagoh at redhat.com> - 2.3-2
- kasumi-2.3-gcc43.patch: Fix build fails with gcc-4.3.

kasumi-2.3-gcc43.patch:

--- NEW FILE kasumi-2.3-gcc43.patch ---
diff -pruN kasumi-2.3.orig/KasumiAddWindow.cxx kasumi-2.3/KasumiAddWindow.cxx
--- kasumi-2.3.orig/KasumiAddWindow.cxx	2007-10-28 17:40:43.000000000 +0900
+++ kasumi-2.3/KasumiAddWindow.cxx	2008-02-19 16:59:45.000000000 +0900
@@ -25,6 +25,7 @@
 *********************************************************************/
 
 #include <gtk/gtk.h>
+#include <algorithm>
 #include <iostream>
 #include "KasumiAddWindow.hxx"
 #include "KasumiWord.hxx"
diff -pruN kasumi-2.3.orig/KasumiWord.cxx kasumi-2.3/KasumiWord.cxx
--- kasumi-2.3.orig/KasumiWord.cxx	2007-10-30 23:01:05.000000000 +0900
+++ kasumi-2.3/KasumiWord.cxx	2008-02-19 16:59:22.000000000 +0900
@@ -24,6 +24,7 @@
  *********************************************************************/
 
 #include <cstdlib>
+#include <cstring>
 #include <string>
 #include <map>
 #include <iconv.h>
diff -pruN kasumi-2.3.orig/main.cxx kasumi-2.3/main.cxx
--- kasumi-2.3.orig/main.cxx	2007-10-30 23:01:22.000000000 +0900
+++ kasumi-2.3/main.cxx	2008-02-19 16:59:22.000000000 +0900
@@ -28,6 +28,7 @@
 #include "config.h"
 #endif
 
+#include <cstring>
 #include <gtk/gtk.h>
 #include <stdlib.h>
 #include <time.h>


Index: kasumi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kasumi/devel/kasumi.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- kasumi.spec	31 Oct 2007 08:22:38 -0000	1.26
+++ kasumi.spec	19 Feb 2008 08:02:49 -0000	1.27
@@ -1,12 +1,13 @@
 Name:    kasumi
 Version: 2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+
 URL:     http://kasumi.sourceforge.jp/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: desktop-file-utils, gtk2-devel gettext-devel anthy-devel automake autoconf
 Source0: %{name}-%{version}.tar.gz
+Patch0:  kasumi-2.3-gcc43.patch
 
 
 Summary: An anthy dictionary management tool.
@@ -17,6 +18,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc43
 
 %build
 %configure
@@ -53,6 +55,9 @@
 
 
 %changelog
+* Tue Feb 19 2008 Akira TAGOH <tagoh at redhat.com> - 2.3-2
+- kasumi-2.3-gcc43.patch: Fix build fails with gcc-4.3.
+
 * Wed Oct 31 2007 Akira TAGOH <tagoh at redhat.com> - 2.3-1
 - New upstream release.
 - kasumi-2.2-fix-dict-breakage.patch: removed.




More information about the fedora-extras-commits mailing list