1
0
Fork 0
qemu/debian/patches/u-boot-sam460ex-fdi.patch
Daniel Baumann 665688c177
Adding debian version 1:10.0.2+ds-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:18 +02:00

25 lines
874 B
Diff

From: Michael Tokarev <mjt@tls.msk.ru>
Subject: u-boot-sam460ex: fdi fix
Date: Sat Apr 1 17:34:09 2023 +0300
Forwarded: https://lists.nongnu.org/archive/html/qemu-devel/2025-01/msg00767.html
Fix the missing extern in a variable declaration,
resulting in this variable being repeated each time
this header is included, so the link with modern gcc
fails.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/roms/u-boot-sam460ex/board/ACube/common/vesa.h b/roms/u-boot-sam460ex/board/ACube/common/vesa.h
index a6c32c3c2c..99672aa67b 100644
--- a/roms/u-boot-sam460ex/board/ACube/common/vesa.h
+++ b/roms/u-boot-sam460ex/board/ACube/common/vesa.h
@@ -4,7 +4,7 @@
extern void *DoVesa(int argc, char *argv[]);
extern void *set_vesa_mode(int mode);
-struct FrameBufferInfo
+extern struct FrameBufferInfo
{
void *BaseAddress;
unsigned long XSize;