glibc: add a patch to remove dup redefinitions. Will submit it upstream later.
--HG-- extra : convert_revision : 1adae11174fc0c4501be7ccc75c1fa89efb6e519
This commit is contained in:
parent
11355d2611
commit
c17c5e6feb
2 changed files with 13 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=glibc
|
||||
sourcepkg=glibc
|
||||
version=2.9
|
||||
patch_files="xattr.h-dupdefs.diff"
|
||||
# Uncomment these lines to use a snapshot from Redhat.
|
||||
#glibc_snapdate=20090209
|
||||
#wrksrc="$pkgname-$version-$glibc_snapdate"
|
||||
|
|
12
templates/glibc/xattr.h-dupdefs.diff
Normal file
12
templates/glibc/xattr.h-dupdefs.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- misc/sys/xattr.h.orig 2009-04-24 15:56:12.517504626 +0200
|
||||
+++ misc/sys/xattr.h 2009-04-24 15:56:27.825593128 +0200
|
||||
@@ -30,9 +30,7 @@ __BEGIN_DECLS
|
||||
enum
|
||||
{
|
||||
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
|
||||
-#define XATTR_CREATE XATTR_CREATE
|
||||
XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */
|
||||
-#define XATTR_REPLACE XATTR_REPLACE
|
||||
};
|
||||
|
||||
/* Set the attribute NAME of the file pointed to by PATH to VALUE (which
|
Loading…
Reference in a new issue