summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.12.1/430-alpha-creat.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-02 22:20:04 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-02 22:20:04 (GMT)
commit0edbdfd24cf34593bc5e49ab2f3f2081de77495d (patch)
tree56ba0c8918a9a1c082f7674cb388d98f8b8fd3e0 /patches/glibc/ports-2.12.1/430-alpha-creat.patch
parentc50fc857f72f1da138f3c6dca8baac824c4881ca (diff)
libc/glibc: update patchset, add ports patchset
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>
Diffstat (limited to 'patches/glibc/ports-2.12.1/430-alpha-creat.patch')
-rw-r--r--patches/glibc/ports-2.12.1/430-alpha-creat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.12.1/430-alpha-creat.patch b/patches/glibc/ports-2.12.1/430-alpha-creat.patch
new file mode 100644
index 0000000..bfb72d0
--- /dev/null
+++ b/patches/glibc/ports-2.12.1/430-alpha-creat.patch
@@ -0,0 +1,14 @@
+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