summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-01 04:38:18 +0100
committerMike Frysinger <vapier@gentoo.org>2015-09-01 04:38:18 +0100
commit6b1d1235c6301a75a3310a5670f37eaed1a197e2 (patch)
treeac456edf02af82109d6f1a912277cc645d72a3ba /4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch
parentpull in x86 dirs starting w/4.2 (diff)
downloadlinux-headers-patches-6b1d1235c6301a75a3310a5670f37eaed1a197e2.tar.gz
linux-headers-patches-6b1d1235c6301a75a3310a5670f37eaed1a197e2.tar.bz2
linux-headers-patches-6b1d1235c6301a75a3310a5670f37eaed1a197e2.zip
initial 4.2 patchset based on last 4.1 patchset
Diffstat (limited to '4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch')
-rw-r--r--4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch b/4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch
new file mode 100644
index 0000000..99f7f01
--- /dev/null
+++ b/4.2/00_all_0001-linux-stat.h-remove-__GLIBC__-checks.patch
@@ -0,0 +1,28 @@
+From d1883002317ad1bed6164aeaba8746ee3379290d Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 29 Dec 2008 06:52:59 -0500
+Subject: [PATCH] linux/stat.h: remove __GLIBC__ checks
+
+Only check __KERNEL__ so we don't assume the C library is glibc.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ include/uapi/linux/stat.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h
+index 7fec7e3..256ad24 100644
+--- a/include/uapi/linux/stat.h
++++ b/include/uapi/linux/stat.h
+@@ -2,7 +2,7 @@
+ #define _UAPI_LINUX_STAT_H
+
+
+-#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
++#if defined(__KERNEL__)
+
+ #define S_IFMT 00170000
+ #define S_IFSOCK 0140000
+--
+2.5.0
+