1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/ports-2.10.1/430-alpha-creat.patch Mon Jan 23 18:41:34 2012 +0100
1.3 @@ -0,0 +1,14 @@
1.4 +alpha does not have a __NR_creat
1.5 +
1.6 +http://bugs.gentoo.org/227275
1.7 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650
1.8 +
1.9 +diff -durN glibc-2.10.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.10.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
1.10 +--- glibc-2.10.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
1.11 ++++ glibc-2.10.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100
1.12 +@@ -1 +1,5 @@
1.13 + /* Defined as alias for the syscall. */
1.14 ++#include <sysdep.h>
1.15 ++#ifndef __NR_creat
1.16 ++#include "../../../../../io/creat64.c"
1.17 ++#endif