patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch
branchnewlib
changeset 1365 c4d124ed9f8e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch	Sun Apr 19 16:17:11 2009 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch
     1.5 +
     1.6 +-= BEGIN original header =-
     1.7 +alpha does not have a __NR_creat
     1.8 +
     1.9 +http://bugs.gentoo.org/227275
    1.10 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650
    1.11 +
    1.12 +-= END original header =-
    1.13 +
    1.14 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
    1.15 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c	2007-11-10 20:34:26.000000000 +0100
    1.16 ++++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c	2009-02-02 22:01:35.000000000 +0100
    1.17 +@@ -1 +1,5 @@
    1.18 + /* Defined as alias for the syscall.  */
    1.19 ++#include <sysdep.h>
    1.20 ++#ifndef __NR_creat
    1.21 ++#include "../../../../../io/creat64.c"
    1.22 ++#endif