Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/xorg-server/hw/sun Fix link erorrs ...



details:   https://anonhg.NetBSD.org/src/rev/3e67bf0016c7
branches:  trunk
changeset: 1023059:3e67bf0016c7
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Aug 21 15:57:00 2021 +0000

description:
Fix link erorrs on ancient monolithic Xservers after DRI3 was enabled.

https://mail-index.netbsd.org/source-changes/2021/08/19/msg131652.html
> fix dri3 extension building and build it.
>
> needed for amdgpu.

XXX: I wonder if each Xorg server extension can be enabled/disabled
     per ${MACHINE} basis rather than in MI include/dix-config.h header.

diffstat:

 external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile |  4 +++-
 external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun    |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r cfbac3d75ed2 -r 3e67bf0016c7 external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
--- a/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile      Sat Aug 21 13:22:19 2021 +0000
+++ b/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile      Sat Aug 21 15:57:00 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2021/03/22 14:11:02 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.12 2021/08/21 15:57:00 tsutsui Exp $
 
 .include <bsd.own.mk>
 
@@ -52,6 +52,7 @@
        ${LDADD.damageext} \
        ${LDADD.miext/damage} \
        ${LDADD.miext/sync} \
+       ${LDADD.dri3} \
        ${LDADD.Xi} \
        -lXfont2 \
        -lpixman-1 \
@@ -73,6 +74,7 @@
        ${DPADD.damageext} \
        ${DPADD.miext/damage} \
        ${DPADD.miext/sync} \
+       ${DPADD.dri3} \
        ${DPADD.Xi} \
        ${LIBXFONT2} \
        ${LIBPIXMAN-1} \
diff -r cfbac3d75ed2 -r 3e67bf0016c7 external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
--- a/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun Sat Aug 21 13:22:19 2021 +0000
+++ b/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun Sat Aug 21 15:57:00 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.Xsun,v 1.5 2020/08/05 15:48:09 tsutsui Exp $
+#      $NetBSD: Makefile.Xsun,v 1.6 2021/08/21 15:57:00 tsutsui Exp $
 
 .include <bsd.own.mk>
 
@@ -94,6 +94,7 @@
        ${LDADD.damageext} \
        ${LDADD.miext/damage} \
        ${LDADD.miext/sync} \
+       ${LDADD.dri3} \
        ${LDADD.Xi} \
        -lXfont2 \
        -lpixman-1 \
@@ -114,6 +115,7 @@
        ${DPADD.damageext} \
        ${DPADD.miext/damage} \
        ${DPADD.miext/sync} \
+       ${DPADD.dri3} \
        ${DPADD.Xi} \
        ${LIBXFONT2} \
        ${LIBPIXMAN-1} \



Home | Main Index | Thread Index | Old Index