mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
qemu: Fix build against glibc 2.36
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
b621245815
commit
692416302c
1
lfs/qemu
1
lfs/qemu
@@ -94,6 +94,7 @@ $(subst %,%_BLAKE2,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-7.0.0-fix-glibc-headers.patch
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
|
||||
11
src/patches/qemu-7.0.0-fix-glibc-headers.patch
Normal file
11
src/patches/qemu-7.0.0-fix-glibc-headers.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- qemu-7.0.0/linux-user/syscall.c~ 2022-08-10 14:03:50.721401251 +0000
|
||||
+++ qemu-7.0.0/linux-user/syscall.c 2022-08-10 14:00:22.569951783 +0000
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/msg.h>
|
||||
#include <sys/wait.h>
|
||||
-#include <sys/mount.h>
|
||||
+#include <linux/mount.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/fsuid.h>
|
||||
#include <sys/personality.h>
|
||||
Reference in New Issue
Block a user