]> TLD Linux GIT Repositories - packages/qemu.git/blobdiff - qemu-xattr.patch
- updated to 8.2.2
[packages/qemu.git] / qemu-xattr.patch
index 4d89cb2f453f1d07775423f85cf237fae838d1ff..0a05bf989bd6c61acb895c8aab4f9fa1cdab98f3 100644 (file)
@@ -1,23 +1,19 @@
-Workaround <linux/xattr.h> vs <sys/xattr.h> defines conflict:
-When including both, the latter must be included first.
-Move "qemu-xattr.h" (which includes <sys/xattr.h> to the front,
-before <sys/capability.h> (which includes <linux/xattr.h>.
-
---- qemu-1.7.1/fsdev/virtfs-proxy-helper.c.orig        2014-03-25 15:01:10.000000000 +0100
-+++ qemu-1.7.1/fsdev/virtfs-proxy-helper.c     2014-04-03 02:55:41.115547990 +0200
-@@ -9,6 +9,7 @@
-  * the COPYING file in the top-level directory.
+diff -ur qemu-8.1.3.orig/fsdev/virtfs-proxy-helper.c qemu-8.1.3/fsdev/virtfs-proxy-helper.c
+--- qemu-8.1.3.orig/fsdev/virtfs-proxy-helper.c        2023-12-14 23:23:20.468721086 +0100
++++ qemu-8.1.3/fsdev/virtfs-proxy-helper.c     2023-12-14 23:28:45.851876342 +0100
+@@ -15,6 +15,7 @@
   */
  
+ #include "qemu/osdep.h"
 +#include "qemu/xattr.h"
+ #include <glib/gstdio.h>
  #include <sys/resource.h>
  #include <getopt.h>
- #include <syslog.h>
-@@ -22,7 +23,6 @@
+@@ -28,7 +29,6 @@
  #endif
- #include "qemu-common.h"
+ #include <cap-ng.h>
  #include "qemu/sockets.h"
 -#include "qemu/xattr.h"
- #include "virtio-9p-marshal.h"
- #include "hw/9pfs/virtio-9p-proxy.h"
- #include "fsdev/virtio-9p-marshal.h"
+ #include "9p-iov-marshal.h"
+ #include "hw/9pfs/9p-proxy.h"
+ #include "hw/9pfs/9p-util.h"