aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-02-26 19:29:34 +0800
committerdanfe <danfe@FreeBSD.org>2007-02-26 19:29:34 +0800
commit19f0cff88a79eb95c27807b2393e09bd55be4efe (patch)
tree2b91dde4362dea3bab6c4ce2c92217843eb99304 /x11/nvidia-driver
parente4eaa8592b8ef90a9a49f4558ac279f2227fba8b (diff)
downloadfreebsd-ports-graphics-19f0cff88a79eb95c27807b2393e09bd55be4efe.tar.gz
freebsd-ports-graphics-19f0cff88a79eb95c27807b2393e09bd55be4efe.tar.zst
freebsd-ports-graphics-19f0cff88a79eb95c27807b2393e09bd55be4efe.zip
Fix the build on recent -CURRENT.
Reported by: piso
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 746b0209061..db8e93020d0 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -94,6 +94,9 @@ post-patch: .SILENT
.if ${OSVERSION} > 600028
${REINPLACE_CMD} '/bus_memio\.h/d' ${WRKSRC}/src/nv-freebsd.h
.endif
+.if ${OSVERSION} > 700030
+ ${REINPLACE_CMD} -e 's/nvidia_intr/NULL, &/' ${WRKSRC}/src/nvidia_pci.c
+.endif
.if defined(WITH_FREEBSD_AGP)
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \
${WRKSRC}/src/nv-freebsd.h