glibc: re-add old xattr patch, which is required to build qemu.

This commit is contained in:
Juan RP 2014-03-17 14:00:31 +01:00
parent 828c332ec6
commit 61cb296a8f
2 changed files with 21 additions and 4 deletions

View 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. */

View File

@ -1,11 +1,8 @@
# Template file for 'glibc' # Template file for 'glibc'
pkgname=glibc pkgname=glibc
version=2.19 version=2.19
revision=3 revision=4
bootstrap=yes bootstrap=yes
# Force creation of -dbg pkg, required by valgrind.
force_debug_pkgs=yes
patch_args="-Np1"
short_desc="The GNU C library" short_desc="The GNU C library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc" homepage="http://www.gnu.org/software/libc"
@ -27,6 +24,8 @@ conf_files="
/etc/rpc /etc/rpc
/etc/gai.conf /etc/gai.conf
/etc/ld.so.conf" /etc/ld.so.conf"
# Force creation of -dbg pkg, required by valgrind.
force_debug_pkgs=yes
if [ "$CHROOT_READY" ]; then if [ "$CHROOT_READY" ]; then
hostmakedepends="bison perl" hostmakedepends="bison perl"