glibc: re-add old xattr patch, which is required to build qemu.
This commit is contained in:
parent
828c332ec6
commit
61cb296a8f
18
srcpkgs/glibc/patches/glibc-2.18-xattr-compat-hack.patch
Normal file
18
srcpkgs/glibc/patches/glibc-2.18-xattr-compat-hack.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- misc/sys/xattr.h 2013-08-11 08:52:55.000000000 +1000
|
||||
+++ misc/sys/xattr.h 2014-01-07 15:45:50.533969040 +1000
|
||||
@@ -26,13 +26,8 @@
|
||||
|
||||
/* The following constants should be used for the fifth parameter of
|
||||
`*setxattr'. */
|
||||
-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
|
||||
-};
|
||||
+#define XATTR_CREATE 1
|
||||
+#define XATTR_REPLACE 2
|
||||
|
||||
/* 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. */
|
|
@ -1,11 +1,8 @@
|
|||
# Template file for 'glibc'
|
||||
pkgname=glibc
|
||||
version=2.19
|
||||
revision=3
|
||||
revision=4
|
||||
bootstrap=yes
|
||||
# Force creation of -dbg pkg, required by valgrind.
|
||||
force_debug_pkgs=yes
|
||||
patch_args="-Np1"
|
||||
short_desc="The GNU C library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnu.org/software/libc"
|
||||
|
@ -27,6 +24,8 @@ conf_files="
|
|||
/etc/rpc
|
||||
/etc/gai.conf
|
||||
/etc/ld.so.conf"
|
||||
# Force creation of -dbg pkg, required by valgrind.
|
||||
force_debug_pkgs=yes
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="bison perl"
|
||||
|
|
Loading…
Reference in New Issue
Block a user