summaryrefslogtreecommitdiff
path: root/packages/glibc/2.14.1/0029-alpha-creat.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 23:30:38 (GMT)
committerGitHub <noreply@github.com>2017-12-02 23:30:38 (GMT)
commitd917a29865876b913fe2939ee2a0728145e8543a (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/glibc/2.14.1/0029-alpha-creat.patch
parente832b9b220f90b11b893e2815ceb37ec2b708683 (diff)
parent98bc4decdeab1361bdc585c86591718fb08c8ffb (diff)
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/glibc/2.14.1/0029-alpha-creat.patch')
-rw-r--r--packages/glibc/2.14.1/0029-alpha-creat.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.14.1/0029-alpha-creat.patch b/packages/glibc/2.14.1/0029-alpha-creat.patch
new file mode 100644
index 0000000..6ef5278
--- /dev/null
+++ b/packages/glibc/2.14.1/0029-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