diff --git a/bugzilla-232303-local-variable-used-before-set.patch b/bugzilla-232303-local-variable-used-before-set.patch deleted file mode 100644 index 2ee23bc..0000000 --- a/bugzilla-232303-local-variable-used-before-set.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: src/m17n-gd.c -=================================================================== -RCS file: /cvs/m17n/m17n-lib/src/m17n-gd.c,v -retrieving revision 1.16 -diff -u -r1.16 m17n-gd.c ---- src/m17n-gd.c 7 Dec 2006 12:12:38 -0000 1.16 -+++ src/m17n-gd.c 9 Jan 2007 14:02:54 -0000 -@@ -299,8 +299,6 @@ - int color, pixel; - int r, g, b; - -- pixel = RESOLVE_COLOR (img, color); -- - if (from == to) - return; - diff --git a/m17n-lib-1.3.4.tar.bz2 b/m17n-lib-1.3.4.tar.bz2 deleted file mode 100644 index a0cecd2..0000000 --- a/m17n-lib-1.3.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:453630a9ecb57538abb45882b5d467a12be6d501cf0cc0d293bd6f6e8591caea -size 464864 diff --git a/m17n-lib-1.4.0.tar.bz2 b/m17n-lib-1.4.0.tar.bz2 new file mode 100644 index 0000000..c8aae3a --- /dev/null +++ b/m17n-lib-1.4.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebc00ae24ac43b40dde49a26b1cbe91a5e00ba4d1039477bfb8e132e40e88b02 +size 469706 diff --git a/m17n-lib.changes b/m17n-lib.changes index c4f8754..eb07e76 100644 --- a/m17n-lib.changes +++ b/m17n-lib.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Aug 01 20:15:20 CEST 2007 - mfabian@suse.de + +- update to 1.4.0: + • New function msymbol_put_func (), msymbol_get_func + (), mplist_put_func (), mplist_get_func (), + mface_put_hook (), and mface_get_hook () are + available to avoid unsafe casting of function + pointer. New macro M17N_FUNC and new type + M17NFunc are also introduced. +- remove bugzilla-232303-local-variable-used-before-set.patch + (was from upstream CVS). +- add -fno-strict-aliasing . +- add gd-devel to BuildRequires. + ------------------------------------------------------------------- Thu May 24 02:00:50 CEST 2007 - ro@suse.de diff --git a/m17n-lib.spec b/m17n-lib.spec index 5649e09..ea03d77 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -1,5 +1,5 @@ # -# spec file for package m17n-lib (Version 1.3.4) +# spec file for package m17n-lib (Version 1.4.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,15 +11,15 @@ # norootforbuild Name: m17n-lib -BuildRequires: anthy-devel freetype2-devel fribidi-devel ispell ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel xorg-x11-devel +BuildRequires: anthy-devel freetype2-devel fribidi-devel gd-devel ispell ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel xorg-x11-devel %if "%(xft-config --prefix)" == "/usr" %define appdefdir /usr/share/X11 %else %define appdefdir /usr/X11R6/lib/X11 %endif -Version: 1.3.4 -Release: 26 -License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Version: 1.4.0 +Release: 1 +License: GPL v2 or later, LGPL v2 or later Group: System/I18n/Japanese Autoreqprov: on Requires: m17n-db @@ -28,8 +28,7 @@ URL: http://www.m17n.org/m17n-lib/ # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-lib # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-db -Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-1.3.4.tar.bz2 -Patch0: bugzilla-232303-local-variable-used-before-set.patch +Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-1.4.0.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Multilingual Text Processing Library for the C Language @@ -64,15 +63,14 @@ Authors: %prep %setup -q -n %{name}-%{version} -%patch0 -p0 find . -name CVS -type d | xargs rm -rf %build ./bootstrap.sh libtoolize --force --automake autoreconf --force --install --verbose -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing " \ +CXXFLAGS="$RPM_OPT_FLAGS-fno-strict-aliasing " \ ./configure --prefix=/usr \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ @@ -120,6 +118,18 @@ rm -rf $RPM_BUILD_ROOT; %{_libdir}/pkgconfig/*.pc %changelog +* Wed Aug 01 2007 - mfabian@suse.de +- update to 1.4.0: + • New function msymbol_put_func (), msymbol_get_func + (), mplist_put_func (), mplist_get_func (), + mface_put_hook (), and mface_get_hook () are + available to avoid unsafe casting of function + pointer. New macro M17N_FUNC and new type + M17NFunc are also introduced. +- remove bugzilla-232303-local-variable-used-before-set.patch + (was from upstream CVS). +- add -fno-strict-aliasing . +- add gd-devel to BuildRequires. * Thu May 24 2007 - ro@suse.de - added ldconfig to post scripts * Tue Jan 09 2007 - mfabian@suse.de