package/x11r7/xserver_xorg-server: fix building on mips with GCC10
authorRaphaël Mélotte <raphael.melotte@mind.be>
Tue, 7 Sep 2021 12:07:48 +0000 (14:07 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 19 Sep 2021 12:28:06 +0000 (14:28 +0200)
commit2e52de40d2e028707e5c20d55805fe616c106b15
treecd13a63e0266ce951e86e04031fa8f66b873d535
parent1eaaa658f3228ea5ed6b3d1733771eaf05193801
package/x11r7/xserver_xorg-server: fix building on mips with GCC10

Port the following upstream commit:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/591/diffs?commit_id=0148a15da1616a868d71abe1b56e3f28cc79533c

This fixes the following build error on mips with GCC10:
  CCLD     libint10.la
buildroot/output/host/lib/gcc/mips64el-buildroot-linux-gnu/10.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: .libs/helper_mem.o:(.bss+0x0): multiple definition of `IOPortBase'; .libs/helper_exec.o:(.bss+0x0): first defined here

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/x11r7/xserver_xorg-server/0006-compiler.h-don-t-define-inb-outb-and-friends-on-mips.patch [new file with mode: 0644]