summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-29 20:14:36 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-29 20:54:23 +0100
commit4927ace0dd70205553c501b36f585e5494d55dac (patch)
tree738e5ab693704349f56aae6471baa333ebdd9797 /emulators/qemu-devel/files
parentcad/verilator: Moved man to share/man (diff)
emulators/qemu-devel: Update version 8.3.0.20231231=>8.3.0.20240126
Diffstat (limited to 'emulators/qemu-devel/files')
-rw-r--r--emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c11
-rw-r--r--emulators/qemu-devel/files/patch-util_meson.build10
2 files changed, 12 insertions, 9 deletions
diff --git a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
index 499de6e86db0..ae39b6c3f4ae 100644
--- a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
+++ b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
@@ -1,13 +1,16 @@
---- util/cpuinfo-ppc.c.orig 2023-08-29 11:28:39 UTC
+--- util/cpuinfo-ppc.c.orig 2024-01-26 18:16:35 UTC
+++ util/cpuinfo-ppc.c
-@@ -9,8 +9,14 @@
+@@ -6,11 +6,17 @@
+ #include "qemu/osdep.h"
+ #include "host/cpuinfo.h"
+
+-#include <asm/cputable.h>
#ifdef CONFIG_GETAUXVAL
# include <sys/auxv.h>
- #else
--# include <asm/cputable.h>
+# ifdef __linux__
+# include <asm/cputable.h>
+# endif
+ #else
# include "elf.h"
+#endif
+
diff --git a/emulators/qemu-devel/files/patch-util_meson.build b/emulators/qemu-devel/files/patch-util_meson.build
index 1d5e2986b7dd..abc95426e00a 100644
--- a/emulators/qemu-devel/files/patch-util_meson.build
+++ b/emulators/qemu-devel/files/patch-util_meson.build
@@ -1,6 +1,6 @@
---- util/meson.build.orig 2023-12-27 10:15:32 UTC
+--- util/meson.build.orig 2024-01-26 18:16:35 UTC
+++ util/meson.build
-@@ -102,11 +102,7 @@ if have_block
+@@ -103,11 +103,7 @@ if have_block
util_ss.add(files('readline.c'))
util_ss.add(files('throttle.c'))
util_ss.add(files('timed-average.c'))
@@ -10,6 +10,6 @@
- util_ss.add(files('filemonitor-stub.c'))
- endif
+ util_ss.add(files('filemonitor-stub.c'))
- util_ss.add(when: 'CONFIG_LINUX', if_true: files('vfio-helpers.c'))
- util_ss.add(when: 'CONFIG_LINUX', if_true: files('chardev_open.c'))
- endif
+ if host_os == 'linux'
+ util_ss.add(files('vhost-user-server.c'), vhost_user)
+ util_ss.add(files('vfio-helpers.c'))