crosstool-ng/packages/glibc/2.15/0028-alpha-creat.patch
Alexey Neyman 98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00

18 lines
463 B
Diff

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