diff options
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb | 4 |
2 files changed, 1 insertions, 31 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch deleted file mode 100644 index e9cbc9b4da..0000000000 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 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; | ||
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb index 3c8cb0173f..f42f99d6c6 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | require xserver-xorg.inc | 1 | require xserver-xorg.inc |
| 2 | 2 | ||
| 3 | SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \ | 3 | SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch" |
| 4 | file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \ | ||
| 5 | " | ||
| 6 | SRC_URI[sha256sum] = "c878d1930d87725d4a5bf498c24f4be8130d5b2646a9fd0f2994deff90116352" | 4 | SRC_URI[sha256sum] = "c878d1930d87725d4a5bf498c24f4be8130d5b2646a9fd0f2994deff90116352" |
| 7 | 5 | ||
| 8 | # These extensions are now integrated into the server, so declare the migration | 6 | # These extensions are now integrated into the server, so declare the migration |
