diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-25 10:03:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-25 10:04:49 +0000 |
commit | f8cb31bad4063410c251b5d2a4cbeef580d9e3ac (patch) | |
tree | ca01c6a73cc5af90641941ef018c0e46e9a71171 /main/qemu/uclibc-xattr-create.patch | |
parent | d6030c90385b3ae512d508279c9f5a4cc5fa3cdb (diff) | |
download | aports-f8cb31bad4063410c251b5d2a4cbeef580d9e3ac.tar.bz2 aports-f8cb31bad4063410c251b5d2a4cbeef580d9e3ac.tar.xz |
main/qemu: build fix for uclibc
Diffstat (limited to 'main/qemu/uclibc-xattr-create.patch')
-rw-r--r-- | main/qemu/uclibc-xattr-create.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/qemu/uclibc-xattr-create.patch b/main/qemu/uclibc-xattr-create.patch new file mode 100644 index 000000000..53cc1dfe2 --- /dev/null +++ b/main/qemu/uclibc-xattr-create.patch @@ -0,0 +1,16 @@ +--- ./include/qemu/xattr.h.orig ++++ ./include/qemu/xattr.h +@@ -24,6 +24,13 @@ + # include <attr/xattr.h> + #else + # define ENOATTR ENODATA ++/* workaround for uclibc */ ++# ifdef XATTR_CREATE ++# undef XATTR_CREATE ++# endif ++# ifdef XATTR_REPLACE ++# undef XATTR_REPLACE ++# endif + # include <sys/xattr.h> + #endif + |