svn commit: r502258 - head/x11/nvidia-driver
Alexey Dokuchaev
danfe at FreeBSD.org
Wed May 22 07:49:42 UTC 2019
Author: danfe
Date: Wed May 22 07:49:41 2019
New Revision: 502258
URL: https://svnweb.freebsd.org/changeset/ports/502258
Log:
Unbreak the build after base (src) r347984.
PR: 238018
Differential Revision: https://reviews.freebsd.org/D20350
Modified:
head/x11/nvidia-driver/Makefile
Modified: head/x11/nvidia-driver/Makefile
==============================================================================
--- head/x11/nvidia-driver/Makefile Wed May 22 07:48:30 2019 (r502257)
+++ head/x11/nvidia-driver/Makefile Wed May 22 07:49:41 2019 (r502258)
@@ -434,6 +434,11 @@ post-patch: .SILENT
-e 's/kmem_free(kmem_arena, /kmem_free(/' \
${WRKSRC}/src/${NVSRC}/nvidia_subr.c
.endif
+# Pull the right header after FreeBSD src r347984
+.if ${OSVERSION} >= 1300029 && ${NVVERSION} >= 358.009
+ ${REINPLACE_CMD} -e '/^#include/s:lock\.h:mutex.h:' \
+ ${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c
+.endif
# Disable installation of Linux libraries
${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& 0/' \
${WRKSRC}/lib/Makefile
More information about the svn-ports-all
mailing list