Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bs...



details:   https://anonhg.NetBSD.org/xsrc/rev/1cee9752dc3c
branches:  trunk
changeset: 10735:1cee9752dc3c
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jun 02 15:01:18 2021 +0000

description:
Declare IOPortBase for mips, as done for xorg-server.

Fix build for sgimips, which still uses xorg-server.old.

diffstat:

 external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/ppc_video.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c009975fbc78 -r 1cee9752dc3c external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/ppc_video.c
--- a/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/ppc_video.c   Wed Jun 02 00:33:22 2021 +0000
+++ b/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/ppc_video.c   Wed Jun 02 15:01:18 2021 +0000
@@ -145,7 +145,7 @@
 }
 
 /* XXX why the hell is this necessary?! */
-#ifdef __arm__
+#if defined(__arm__) || defined(__mips__)
 unsigned int IOPortBase = (int)MAP_FAILED;
 #endif
 



Home | Main Index | Thread Index | Old Index