-diff -ur qemu-7.0.0.orig/configure qemu-7.0.0/configure
---- qemu-7.0.0.orig/configure 2022-06-03 00:23:06.016501497 +0200
-+++ qemu-7.0.0/configure 2022-06-03 00:23:29.668549512 +0200
-@@ -2627,13 +2627,6 @@
+--- qemu-8.2.4/include/qemu/osdep.h.orig 2024-05-13 21:19:44.000000000 +0200
++++ qemu-8.2.4/include/qemu/osdep.h 2024-05-28 21:35:11.927464569 +0200
+@@ -27,10 +27,6 @@
+ #ifndef QEMU_OSDEP_H
+ #define QEMU_OSDEP_H
- write_c_skeleton
-
--if test "$gcov" = "yes" ; then
-- :
--elif test "$fortify_source" = "yes" ; then
-- QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
-- debug=no
--fi
+-#if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__ && defined __linux__
+-# define _FORTIFY_SOURCE 2
+-#endif
-
- case "$ARCH" in
- alpha)
- # Ensure there's only a single GP
+ #include "config-host.h"
+ #ifdef NEED_CPU_H
+ #include CONFIG_TARGET