]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/glibc-2.2.5-alpha-pwrite64.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.2.5 / glibc-2.2.5-alpha-pwrite64.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
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
8 @@ -1,4 +1,4 @@
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.
13  
14 @@ -56,6 +56,21 @@
15  #define __NR_osf_getsysinfo    256
16  #define __NR_osf_setsysinfo    257
17  
18 +/* Help old kernel headers where particular syscalls are not available.  */
19 +#ifndef __NR_semtimedop
20 +# define __NR_semtimedop       423
21 +#endif
22 +
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
28 +#endif
29 +#if !defined __NR_pwrite && defined __NR_pwrite64
30 +# define __NR_pwrite __NR_pwrite64
31 +#endif
32 +
33  /*
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