summaryrefslogtreecommitdiff
path: root/packages/glibc/2.15/430-alpha-creat.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-23 23:05:40 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-23 23:05:40 (GMT)
commitf8d4ce3d0e9b384a66286901f6680c835af76284 (patch)
tree0efbee3a3f267c83211c65c066b5829dc8b92741 /packages/glibc/2.15/430-alpha-creat.patch
parent8e8417226d5cdd90896df2c585ad03a995e5e9a1 (diff)
Implement a script for checking packages
Then use this script to check that all packages can be extracted and patched. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/glibc/2.15/430-alpha-creat.patch')
-rw-r--r--packages/glibc/2.15/430-alpha-creat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/glibc/2.15/430-alpha-creat.patch b/packages/glibc/2.15/430-alpha-creat.patch
new file mode 100644
index 0000000..da6ddda
--- /dev/null
+++ b/packages/glibc/2.15/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.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.13/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
+--- glibc-2.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
++++ glibc-2.13/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