]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch
authorKhem Raj <raj.khem@gmail.com>
Mon, 2 Feb 2015 04:19:16 +0000 (20:19 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Feb 2015 13:30:57 +0000 (13:30 +0000)
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch

index f61d459e5c712b80000114750fd2707212f2597e..1910fccd3ceb382505f95ea0d8efe2dbfd135009 100644 (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