diff --git a/kasumi-1.0-gcc41.patch b/kasumi-1.0-gcc41.patch new file mode 100644 index 0000000..2a31aba --- /dev/null +++ b/kasumi-1.0-gcc41.patch @@ -0,0 +1,11 @@ +--- kasumi-1.0.orig/Makefile.am 2005-09-01 16:48:07.000000000 +0900 ++++ kasumi-1.0/Makefile.am 2005-12-15 15:47:48.000000000 +0900 +@@ -13,7 +13,7 @@ + + pkgdata_DATA = kasumi.png + +-AM_CPPFLAGS=-DLOCALEDIR='"$(localedir)"' ++AM_CPPFLAGS=-DLOCALEDIR='"$(localedir)"' -ffriend-injection + SUBDIRS = intl m4 po + + ACLOCAL_AMFLAGS = -I m4 diff --git a/kasumi.spec b/kasumi.spec index c1753c1..1ed0d16 100644 --- a/kasumi.spec +++ b/kasumi.spec @@ -8,6 +8,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils, gtk2-devel Source0: %{name}-%{version}.tar.gz Source1: %{name}.desktop +Patch0: kasumi-1.0-gcc41.patch Summary: An anthy dictionary management tool. @@ -18,7 +19,10 @@ Kasumi is a dictionary management tool for Anthy. %prep %setup -q - +%patch0 -p1 -b .gcc41 +aclocal +automake +autoconf %build %configure @@ -52,8 +56,10 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Mon Dec 12 2005 Akira TAGOH - 1.0-1 +* Thu Dec 15 2005 Akira TAGOH - 1.0-1 - New upstream release. +- kasumi-1.0-gcc41.patch: build with -ffriend-injection to temporarily get it + built with gcc-4.1. * Fri Dec 09 2005 Jesse Keating - rebuilt