glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch

Re-introduce

https://sourceware.org/git/?p=glibc.git;a=commit;h=fdbe8eae2b9aed74dabba1b0a189c5d7d61bf032

This patch was overzealously removed during option groups forward port

Change-Id: I8dd01902ae8e5ee8b5c6fc9dc39c7216952dca51
(From OE-Core rev: 24f02c8d1313a423cf219270a9aa55bccbe1893c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2015-02-01 20:19:16 -08:00
committed by Richard Purdie
parent 1f292659c0
commit 24ffda5438

View File

@@ -2819,26 +2819,6 @@ Index: git/misc/Makefile
CFLAGS-select.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-tsearch.c = $(uses-callbacks)
Index: git/misc/sys/xattr.h
===================================================================
--- git.orig/misc/sys/xattr.h 2014-08-29 20:00:52.644070587 -0700
+++ git/misc/sys/xattr.h 2014-08-29 20:01:15.216070587 -0700
@@ -26,7 +26,6 @@
/* The following constants should be used for the fifth parameter of
`*setxattr'. */
-#ifndef __USE_KERNEL_XATTR_DEFS
enum
{
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
@@ -34,7 +33,6 @@
XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */
#define XATTR_REPLACE XATTR_REPLACE
};
-#endif
/* Set the attribute NAME of the file pointed to by PATH to VALUE (which
is SIZE bytes long). Return 0 on success, -1 for errors. */
Index: git/misc/tst-efgcvt.c
===================================================================
--- git.orig/misc/tst-efgcvt.c 2014-08-29 20:00:52.652070587 -0700