diff options
Diffstat (limited to 'packages/glibc/2.13/0030-alpha-creat.patch')
-rw-r--r-- | packages/glibc/2.13/0030-alpha-creat.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.13/0030-alpha-creat.patch b/packages/glibc/2.13/0030-alpha-creat.patch new file mode 100644 index 00000000..6ef52782 --- /dev/null +++ b/packages/glibc/2.13/0030-alpha-creat.patch @@ -0,0 +1,17 @@ +alpha does not have a __NR_creat + +http://bugs.gentoo.org/227275 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650 + +--- + sysdeps/unix/sysv/linux/wordsize-64/creat64.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/sysdeps/unix/sysv/linux/wordsize-64/creat64.c ++++ b/sysdeps/unix/sysv/linux/wordsize-64/creat64.c +@@ -1 +1,5 @@ + /* Defined as alias for the syscall. */ ++#include <sysdep.h> ++#ifndef __NR_creat ++#include "../../../../../io/creat64.c" ++#endif |