summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-11-03 11:45:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-06 15:09:32 +0000
commit9fa70f4fd5c623c9ac9573ece7ef4841820b0137 (patch)
tree39d4b85cc564cdd7399c5f529669f9cc49f29d6f
parent4c92caf6224adc47ee7a31420781139b054805c0 (diff)
downloadpoky-9fa70f4fd5c623c9ac9573ece7ef4841820b0137.tar.gz
xserver-xorg: remove redundant patch
The underlying issue with -fno-common was resolved upstream in xserver 21.1.0 onwards[1]. [1] xserver 0148a15da ("compiler.h: don't define inb/outb and friends on mips") (From OE-Core rev: 74b77ee90efd50a703af76769fac66a0f7c394ca) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch28
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb4
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 @@
1From cedc797e1a0850039a25b7e387b342e54fffcc97 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Aug 2020 10:50:51 -0700
4Subject: [PATCH] Avoid duplicate definitions of IOPortBase
5
6This fixed build with gcc10/-fno-common
7
8Fixes
9compiler.h:528: multiple definition of `IOPortBase';
10
11Upstream-Status: Pending
12Signed-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
17diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
18index 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 @@
1require xserver-xorg.inc 1require xserver-xorg.inc
2 2
3SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \ 3SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch"
4 file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \
5 "
6SRC_URI[sha256sum] = "c878d1930d87725d4a5bf498c24f4be8130d5b2646a9fd0f2994deff90116352" 4SRC_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