From ac4a37c8c43eca8443943c110521a39cec8bf5fc Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 7 Feb 2017 15:53:53 -0800 Subject: Revert "patches: remove obsolete glibc patches" This partially reverts commit 429b3e884662a3b9a72890aae23865501e66330f. Bring back the patches for glibc 2.12 and newer. Propagate/refresh some patches as needed. Signed-off-by: Alexey Neyman --- patches/glibc/ports-2.13/430-alpha-creat.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/glibc/ports-2.13/430-alpha-creat.patch (limited to 'patches/glibc/ports-2.13/430-alpha-creat.patch') diff --git a/patches/glibc/ports-2.13/430-alpha-creat.patch b/patches/glibc/ports-2.13/430-alpha-creat.patch new file mode 100644 index 00000000..da6dddad --- /dev/null +++ b/patches/glibc/ports-2.13/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 ++#ifndef __NR_creat ++#include "../../../../../io/creat64.c" ++#endif -- cgit v1.2.3