summaryrefslogtreecommitdiff
path: root/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-28 13:34:41 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-28 13:34:41 (GMT)
commitaeddc2708dfec1daf0dd71a9afd41bcd98fe6ee0 (patch)
treec1f02b666c42e7d0493064b072e8b80201f03aca /patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch
parent91a189c7ba35f9a723c986c3b90873db0f4366b9 (diff)
Rename patch dir for glibc-2.9: version string is 2.9, not 2_9.
Diffstat (limited to 'patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch')
-rw-r--r--patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch b/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch
new file mode 100644
index 0000000..31da4d1
--- /dev/null
+++ b/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch
@@ -0,0 +1,19 @@
+Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch
+
+-= BEGIN original header =-
+alpha does not have a __NR_creat
+
+http://bugs.gentoo.org/227275
+http://sourceware.org/bugzilla/show_bug.cgi?id=6650
+
+-= END original header =-
+
+diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
+--- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
++++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-02-02 22:01:35.000000000 +0100
+@@ -1 +1,5 @@
+ /* Defined as alias for the syscall. */
++#include <sysdep.h>
++#ifndef __NR_creat
++#include "../../../../../io/creat64.c"
++#endif