Hello community, here is the log from the commit of package gpart checked in at Sun Dec 2 14:25:01 CET 2007. -------- --- gpart/gpart.changes 2006-11-08 10:48:17.000000000 +0100 +++ /mounts/work_src_done/STABLE/gpart/gpart.changes 2007-11-30 20:41:48.619838000 +0100 @@ -1,0 +2,5 @@ +Fri Nov 30 20:21:31 CET 2007 - pcerny@suse.cz + +- fixed call to open for use with glibc 2.7 + +------------------------------------------------------------------- New: ---- gpart-0.1h-glibc_2.7_open.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gpart.spec ++++++ --- /var/tmp/diff_new_pack.D19666/_old 2007-12-02 14:24:38.000000000 +0100 +++ /var/tmp/diff_new_pack.D19666/_new 2007-12-02 14:24:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gpart (Version 0.1h) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,19 +11,20 @@ # norootforbuild Name: gpart -License: GNU General Public License (GPL) - all versions +License: GPL v2 or later Group: System/Filesystems -Autoreqprov: on +AutoReqProv: on Version: 0.1h -Release: 509 +Release: 565 Summary: Tool That Can Guess a Lost Partition Table -URL: http://www.stud.uni-hannover.de/user/76201/gpart/ +Url: http://www.stud.uni-hannover.de/user/76201/gpart/ Source: %{name}-%{version}.tar.bz2 Patch: %{name}-%{version}.diff Patch1: %{name}-%{version}-array_overflow.diff Patch2: %{name}-%{version}-array_overflow2.diff Patch3: %{name}-%{version}-kernel_syscall.diff Patch4: %{name}-%{version}.log.patch +Patch5: %{name}-%{version}-glibc_2.7_open.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,6 +48,7 @@ %patch2 %patch3 %patch4 +%patch5 %build make CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -DVERSION=\\\"%version\\\"" %{?jobs:-j%jobs} @@ -63,7 +65,9 @@ /usr/bin/gpart /usr/share/man/man8/gpart.8.gz -%changelog -n gpart +%changelog +* Fri Nov 30 2007 - pcerny@suse.cz +- fixed call to open for use with glibc 2.7 * Wed Nov 08 2006 - prusnak@suse.cz - fixed array overflow on multiple places [#159103 was reopened] * Fri Oct 20 2006 - olh@suse.de ++++++ gpart-0.1h-glibc_2.7_open.patch ++++++ --- src/gpart.c.orig +++ src/gpart.c @@ -1221,7 +1221,7 @@ { int fd, ret = 0; - if ((fd = open(bfile,O_WRONLY|O_CREAT)) < 0) + if ((fd = open(bfile,O_WRONLY|O_CREAT,0660)) < 0) return (ret); if (write(fd,d->d_pt.t_boot,512) == 512) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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