3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- glibc-2.2.5/sysdeps/unix/sysv/linux/alpha/sysdep.h~glibc-2.2.5-alpha-pwrite64.patch 2004-09-03 19:00:33.000000000 -0500
7 +++ glibc-2.2.5/sysdeps/unix/sysv/linux/alpha/sysdep.h 2004-09-03 19:00:38.000000000 -0500
9 -/* Copyright (C) 1992, 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
10 +/* Copyright (C) 1992, 1993, 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
11 This file is part of the GNU C Library.
12 Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>, August 1995.
15 #define __NR_osf_getsysinfo 256
16 #define __NR_osf_setsysinfo 257
18 +/* Help old kernel headers where particular syscalls are not available. */
19 +#ifndef __NR_semtimedop
20 +# define __NR_semtimedop 423
23 +/* This is a kludge to make syscalls.list find these under the names
24 + pread and pwrite, since some kernel headers define those names
25 + and some define the *64 names for the same system calls. */
26 +#if !defined __NR_pread && defined __NR_pread64
27 +# define __NR_pread __NR_pread64
29 +#if !defined __NR_pwrite && defined __NR_pwrite64
30 +# define __NR_pwrite __NR_pwrite64
34 * In order to get the hidden arguments for rt_sigaction set up
35 * properly, we need to call the assembly version. Detect this in the