-diff -ur qemu-5.2.0.orig/configure qemu-5.2.0/configure
---- qemu-5.2.0.orig/configure 2021-01-02 17:56:31.497947511 +0100
-+++ qemu-5.2.0/configure 2021-01-02 18:11:17.004206582 +0100
-@@ -5664,13 +5664,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