Hello community, here is the log from the commit of package xfsdump for openSUSE:Factory checked in at 2013-03-14 15:03:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xfsdump (Old) and /work/SRC/openSUSE:Factory/.xfsdump.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfsdump", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/xfsdump/xfsdump.changes 2012-06-05 15:36:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xfsdump.new/xfsdump.changes 2013-03-14 15:08:47.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Mar 9 19:09:21 UTC 2013 - [email protected] + +- getdents.diff: Handle platforms without getents syscall + +------------------------------------------------------------------- New: ---- getdents.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfsdump.spec ++++++ --- /var/tmp/diff_new_pack.RxOwqL/_old 2013-03-14 15:08:51.000000000 +0100 +++ /var/tmp/diff_new_pack.RxOwqL/_new 2013-03-14 15:08:51.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xfsdump # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,7 @@ Source0: xfsdump-%version.tar.gz Patch0: xfsdump-docdir.diff Patch1: xfsdump-3.0.1-fix-bufferoverflow.diff +Patch2: getdents.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -59,6 +60,7 @@ %setup -q %patch0 %patch1 -p1 +%patch2 -p1 %build export DEBUG=-DNDEBUG ++++++ getdents.diff ++++++ Index: xfsdump-3.0.5/common/getdents.c =================================================================== --- xfsdump-3.0.5.orig/common/getdents.c +++ xfsdump-3.0.5/common/getdents.c @@ -51,6 +51,9 @@ #ifdef __hppa__ # define __ASSUME_GETDENTS64_SYSCALL 1 #endif +#ifndef SYS_getdents +# define __ASSUME_GETDENTS64_SYSCALL 1 +#endif #ifndef __set_errno #define __set_errno(e) (errno = (e)) @@ -207,6 +210,7 @@ getdents_wrap (int fd, char *buf, size_t # endif } #endif +#ifdef SYS_getdents { size_t red_nbytes; struct kernel_dirent *skdp, *kdp; @@ -265,4 +269,5 @@ getdents_wrap (int fd, char *buf, size_t } return (char *) dp - buf; +#endif } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
