Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib build fixes for libdrm 2.4.96.
details: https://anonhg.NetBSD.org/src/rev/040948e2c52d
branches: trunk
changeset: 447415:040948e2c52d
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jan 10 09:10:31 2019 +0000
description:
build fixes for libdrm 2.4.96.
XXX: may still have build issues, and cleandir before
XXX: update builds is likely needed
diffstat:
external/mit/xorg/lib/libdrm/Makefile.defines | 12 +++++++++---
external/mit/xorg/lib/libdrm_amdgpu/Makefile | 5 ++---
2 files changed, 11 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r 937a6a691c5a -r 040948e2c52d external/mit/xorg/lib/libdrm/Makefile.defines
--- a/external/mit/xorg/lib/libdrm/Makefile.defines Thu Jan 10 08:27:21 2019 +0000
+++ b/external/mit/xorg/lib/libdrm/Makefile.defines Thu Jan 10 09:10:31 2019 +0000
@@ -1,8 +1,12 @@
-# $NetBSD: Makefile.defines,v 1.3 2018/03/14 07:23:00 mrg Exp $
+# $NetBSD: Makefile.defines,v 1.4 2019/01/10 09:10:31 mrg Exp $
# common defiles for libdrm components
-CPPFLAGS+= -DHAVE_INTTYPES_H \
+CPPFLAGS+= \
+ -DHAVE_INTTYPES_H \
+ -DHAVE_OPEN_MEMSTREAM \
+ -DHAVE_VISIBILITY \
+ -DHAVE_SETENV \
-DHAVE_STDINT_H \
-DHAVE_STRINGS_H \
-DHAVE_STRING_H \
@@ -10,10 +14,12 @@
-DHAVE_SYS_SYSCTL_H \
-DHAVE_SYS_TYPES_H \
-DHAVE_UNISTD_H
-CPPFLAGS+= -DHAVE_SETENV
# NetBSD has __sync_*().
CPPFLAGS+= -DHAVE_LIBDRM_ATOMIC_PRIMITIVES \
CPPFLAGS+= -DHAVE_NOUVEAU \
+ -DHAVE_AMDGPU \
-DHAVE_RADEON
+
+COPTS+= -fvisibility=hidden
diff -r 937a6a691c5a -r 040948e2c52d external/mit/xorg/lib/libdrm_amdgpu/Makefile
--- a/external/mit/xorg/lib/libdrm_amdgpu/Makefile Thu Jan 10 08:27:21 2019 +0000
+++ b/external/mit/xorg/lib/libdrm_amdgpu/Makefile Thu Jan 10 09:10:31 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/03/14 07:23:00 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2019/01/10 09:10:31 mrg Exp $
.include <bsd.own.mk>
@@ -14,8 +14,7 @@
amdgpu_gpu_info.c \
amdgpu_vamgr.c \
amdgpu_vm.c \
- util_hash.c \
- util_hash_table.c
+ handle_table.c
LIBDRMDATADIR= ${X11ROOTDIR}/share/libdrm
# XXX goes away in new libdrm.
Home |
Main Index |
Thread Index |
Old Index