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/420-alpha-statfs.patch | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 patches/glibc/ports-2.13/420-alpha-statfs.patch (limited to 'patches/glibc/ports-2.13/420-alpha-statfs.patch') diff --git a/patches/glibc/ports-2.13/420-alpha-statfs.patch b/patches/glibc/ports-2.13/420-alpha-statfs.patch new file mode 100644 index 00000000..65c925a5 --- /dev/null +++ b/patches/glibc/ports-2.13/420-alpha-statfs.patch @@ -0,0 +1,29 @@ +2011-02-28 Aurelien Jarno + + * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs, + struct statfs64): Add f_flags field. + +diff --git glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/bits/statfs.h glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/bits/statfs.h +index d838e6b..157591d 100644 +--- glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/bits/statfs.h ++++ glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/bits/statfs.h +@@ -42,7 +42,8 @@ struct statfs + __fsid_t f_fsid; + int f_namelen; + int f_frsize; +- int f_spare[5]; ++ int f_flags; ++ int f_spare[4]; + }; + + #ifdef __USE_LARGEFILE64 +@@ -58,7 +59,8 @@ struct statfs64 + __fsid_t f_fsid; + int f_namelen; + int f_frsize; +- int f_spare[5]; ++ int f_flags; ++ int f_spare[4]; + }; + #endif + -- cgit v1.2.3