On Fri, Apr 16, 1999 at 10:35:39AM -0700, Joel Klecker wrote:
> >Ben, I'm currently recompiling without sigstack and sigaction.  (So I
> >just have your chown patch.)  If it works, we may also want to add the
> >attached patch (it may fix the problems with non-cvs kernels).
>
> Send me the latest version of the chown patch, please.

Here is the patch, the final one we will use. I am compiling the latest
cvs right now, I'll need some one to test it on a sun4m machine for me
though.

--
-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <[EMAIL PROTECTED]>                  Debian GNU/Linux
OpenLDAP Core - [EMAIL PROTECTED]                 [EMAIL PROTECTED]
UnixGroup Admin - Jordan Systems         The Choice of the GNU Generation
------ -- ----- - - -------   ------- -- ---- - -------- - --- ---- -  --
#! /bin/sh -e

# All lines beginning with `# DPATCH:' are a description of the patch.
# DP: <your description>

if [ $# -ne 2 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch) patch -d "$2" -f -p0 < $0;;
    -unpatch) patch -d "$2" -f -R -p0 < $0;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1
esac
exit 0

# append the patch here and adjust the -p? flag in the patch calls.

diff -Naur sysdeps/unix/sysv/linux/sparc/sparc32.orig/chown.S 
sysdeps/unix/sysv/linux/sparc/sparc32/chown.S
--- sysdeps/unix/sysv/linux/sparc/sparc32.orig/chown.S  Thu Jan  1 00:00:00 1970
+++ sysdeps/unix/sysv/linux/sparc/sparc32/chown.S       Mon Aug 24 17:58:59 1998
@@ -0,0 +1,29 @@
+/* chown() compatibility for old Debian binaries.
+   Copyright (C) 1998 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#include <sysdep.h>
+
+       PSEUDO (__chown, chown, 3)
+       ret
+       PSEUDO_END(__chown)
+       weak_alias (__chown, chown)
+
+#if defined PIC && defined DO_VERSIONING
+symbol_version (__chown, chown, GLIBC_2.1);
+#endif
diff -Naur sysdeps/unix/sysv/linux/sparc/sparc32.orig/lchown.S 
sysdeps/unix/sysv/linux/sparc/sparc32/lchown.S
--- sysdeps/unix/sysv/linux/sparc/sparc32.orig/lchown.S Thu Jan  1 00:00:00 1970
+++ sysdeps/unix/sysv/linux/sparc/sparc32/lchown.S      Mon Aug 24 17:58:59 1998
@@ -0,0 +1,25 @@
+/* lchown() system call.
+   Copyright (C) 1998 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#include <sysdep.h>
+
+       PSEUDO (__lchown, lchown, 3)
+       ret
+       PSEUDO_END(__lchown)
+       weak_alias (__lchown, lchown)

Reply via email to