Hello community, here is the log from the commit of package libchewing checked in at Thu Dec 6 01:05:05 CET 2007. -------- --- libchewing/libchewing.changes 2007-04-10 00:57:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/libchewing/libchewing.changes 2007-12-04 16:53:18.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 04 16:35:17 CET 2007 - mfabian@suse.de + +- fix build with glibc 2.7. +- fix some rpmlint warnings. + +------------------------------------------------------------------- New: ---- glibc-2.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libchewing.spec ++++++ --- /var/tmp/diff_new_pack.tr5949/_old 2007-12-06 01:04:23.000000000 +0100 +++ /var/tmp/diff_new_pack.tr5949/_new 2007-12-06 01:04:23.000000000 +0100 @@ -12,16 +12,17 @@ Name: libchewing Version: 0.3.0 -Release: 41 -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Release: 82 +License: LGPL v2.1 or later Group: System/I18n/Chinese -Autoreqprov: on +AutoReqProv: on BuildRequires: check-devel pkg-config -URL: http://chewing.csie.net/ +Url: http://chewing.csie.net/ Source0: http://chewing.csie.net/download/libchewing/libchewing-0.3.0.tar.bz2 Patch0: libtool-autoconf.patch Patch1: bugzilla-155270-libchewing-init-chewing-correctly.patch Patch2: libchewing-check.patch +Patch3: glibc-2.7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Intelligent Phonetic Input Method Library for Traditional Chinese @@ -69,6 +70,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 %build rm -f aclocal.m4 @@ -82,11 +84,13 @@ make %install -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; make DESTDIR=${RPM_BUILD_ROOT} install +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %clean -#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files %defattr(-, root, root) @@ -103,6 +107,9 @@ %{_libdir}/pkgconfig/chewing.pc %changelog +* Tue Dec 04 2007 - mfabian@suse.de +- fix build with glibc 2.7. +- fix some rpmlint warnings. * Tue Apr 10 2007 - ro@suse.de - fix build with updated check package * Tue Mar 27 2007 - sbrabec@suse.cz ++++++ glibc-2.7.patch ++++++ diff -ru libchewing-0.3.0.orig/src/porting_layer/src/plat_mmap_posix.c libchewing-0.3.0/src/porting_layer/src/plat_mmap_posix.c --- libchewing-0.3.0.orig/src/porting_layer/src/plat_mmap_posix.c 2006-05-15 08:49:43.000000000 +0200 +++ libchewing-0.3.0/src/porting_layer/src/plat_mmap_posix.c 2007-12-04 16:32:51.000000000 +0100 @@ -48,7 +48,7 @@ if ( FLAG_ATTRIBUTE_READ & fileAccessAttr ) handle->fd = open( file, O_RDONLY ); else - handle->fd = open( file, O_RDWR | O_CREAT ); + handle->fd = open( file, O_RDWR | O_CREAT , S_IRUSR | S_IWUSR); if ( handle->fd == -1 ) return 0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de