Hello community, here is the log from the commit of package gzip checked in at Sun May 20 21:30:13 CEST 2007. -------- --- gzip/gzip.changes 2007-04-15 00:03:56.000000000 +0200 +++ /mounts/work_src_done/STABLE/gzip/gzip.changes 2007-05-20 19:17:49.000000000 +0200 @@ -1,0 +2,5 @@ +Sun May 20 19:17:21 CEST 2007 - schwab@suse.de + +- Fix compiling with glibc 2.6. + +------------------------------------------------------------------- New: ---- futimens.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gzip.spec ++++++ --- /var/tmp/diff_new_pack.W22772/_old 2007-05-20 21:29:59.000000000 +0200 +++ /var/tmp/diff_new_pack.W22772/_new 2007-05-20 21:29:59.000000000 +0200 @@ -17,7 +17,7 @@ Autoreqprov: on PreReq: %{install_info_prereq} Version: 1.3.12 -Release: 1 +Release: 9 Summary: GNU Zip Compression Utilities Source: %{name}-%{version}.tar.gz Patch: zgrep.diff @@ -25,6 +25,7 @@ Patch2: zmore.diff Patch3: non-exec-stack.diff Patch4: http://rsync.samba.org/ftp/unpacked/rsync/patches/gzip-rsyncable.diff +Patch5: futimens.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -46,6 +47,7 @@ %patch2 %patch3 %patch4 -p1 +%patch5 %build CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer \ @@ -105,6 +107,8 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog +* Sun May 20 2007 - schwab@suse.de +- Fix compiling with glibc 2.6. * Sun Apr 15 2007 - schwab@suse.de - Update to gzip 1.3.12. * znew now uses $TMPDIR (default /tmp) instead of always using /tmp. ++++++ futimens.diff ++++++ --- gzip.c +++ gzip.c @@ -1639,7 +1639,7 @@ } } - if (futimens (ofd, ofname, timespec) != 0) + if (gl_futimens (ofd, ofname, timespec) != 0) { int e = errno; WARN ((stderr, "%s: ", program_name)); --- lib/utimens.c +++ lib/utimens.c @@ -75,8 +75,8 @@ Return 0 on success, -1 (setting errno) on failure. */ int -futimens (int fd ATTRIBUTE_UNUSED, - char const *file, struct timespec const timespec[2]) +gl_futimens (int fd ATTRIBUTE_UNUSED, + char const *file, struct timespec const timespec[2]) { /* Some Linux-based NFS clients are buggy, and mishandle time stamps of files in NFS file systems in some cases. We have no @@ -185,5 +185,5 @@ int utimens (char const *file, struct timespec const timespec[2]) { - return futimens (-1, file, timespec); + return gl_futimens (-1, file, timespec); } --- lib/utimens.h +++ lib/utimens.h @@ -1,3 +1,3 @@ #include <time.h> -int futimens (int, char const *, struct timespec const [2]); +int gl_futimens (int, char const *, struct timespec const [2]); int utimens (char const *, struct timespec const [2]); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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