mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
0edbdfd24c
Patchset provided by "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu> http://sourceware.org/ml/crossgcc/2011-04/msg00072.html http://sourceware.org/ml/crossgcc/2011-04/msg00073.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
15 lines
599 B
Diff
15 lines
599 B
Diff
alpha does not have a __NR_creat
|
|
|
|
http://bugs.gentoo.org/227275
|
|
http://sourceware.org/bugzilla/show_bug.cgi?id=6650
|
|
|
|
diff -durN glibc-2.12.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.12.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
|
|
--- glibc-2.12.1.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
|
|
+++ glibc-2.12.1/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100
|
|
@@ -1 +1,5 @@
|
|
/* Defined as alias for the syscall. */
|
|
+#include <sysdep.h>
|
|
+#ifndef __NR_creat
|
|
+#include "../../../../../io/creat64.c"
|
|
+#endif
|