]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
e9cbc9b4daa6da126dcb83419ada399775a894a3
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From cedc797e1a0850039a25b7e387b342e54fffcc97 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Mon, 17 Aug 2020 10:50:51 -0700
4 Subject: [PATCH] Avoid duplicate definitions of IOPortBase
5
6 This fixed build with gcc10/-fno-common
7
8 Fixes
9 compiler.h:528: multiple definition of `IOPortBase';
10
11 Upstream-Status: Pending
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 hw/xfree86/os-support/linux/lnx_video.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
18 index fd83022..1d0d96e 100644
19 --- a/hw/xfree86/os-support/linux/lnx_video.c
20 +++ b/hw/xfree86/os-support/linux/lnx_video.c
21 @@ -78,6 +78,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
22 /***************************************************************************/
23 /* I/O Permissions section */
24 /***************************************************************************/
25 +_X_EXPORT unsigned int IOPortBase; /* Memory mapped I/O port area */
26
27 #if defined(__powerpc__)
28 volatile unsigned char *ioBase = NULL;