diff options
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 + |