summaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile11
-rw-r--r--x11/nvidia-driver/Makefile.version2
-rw-r--r--x11/nvidia-driver/distinfo6
3 files changed, 14 insertions, 5 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 32daf36722b1..ad87c00eb3fd 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -159,7 +159,7 @@ PLIST_SUB+= EXTENSIONSDIR="@comment "
PLIST_FILES+= lib/libnvidia-wayland-client.so.${DISTVERSION}
.endif
-CONFLICTS_INSTALL+= nvidia-driver nvidia-driver-*
+CONFLICTS_INSTALL+= nvidia-driver*
.if ${PORTNAME} != nvidia-secondary-driver
CONFLICTS_INSTALL+= nvidia-secondary-driver
.endif
@@ -321,6 +321,15 @@ post-patch: .SILENT
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -E 's/(x11).*/\1/ ; /doc/d' ${WRKSRC}/Makefile
.endif
+# DMAP_MIN_ADDRESS and DMAP_MAX_ADDRESS is deleted from src at commit
+# 4dd828c80828637452a8a4e07a64e294c82e5d8b on main branch.
+# Note that there are about 10 days of broken window, as the commit
+# does not have corresponding version bump.
+.if ${OSVERSION} >= 1500051
+ ${REINPLACE_CMD} -e 's/DMAP_MIN_ADDRESS/kva_layout.dmap_low/' \
+ -e 's/DMAP_MAX_ADDRESS/kva_layout.dmap_high/' \
+ ${WRKSRC}/src/${NVSRC}/nvidia_subr.c
+.endif
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MODULESDIR}/drivers \
diff --git a/x11/nvidia-driver/Makefile.version b/x11/nvidia-driver/Makefile.version
index 7582499314be..ec22fb7b6251 100644
--- a/x11/nvidia-driver/Makefile.version
+++ b/x11/nvidia-driver/Makefile.version
@@ -1,4 +1,4 @@
# NVIDIA Distversion
#
# This will be included from x11/nvidia-driver and the nvidia-drm port
-NVIDIA_DISTVERSION?= 570.144
+NVIDIA_DISTVERSION?= 580.76.05
diff --git a/x11/nvidia-driver/distinfo b/x11/nvidia-driver/distinfo
index 017416dc7813..5486438203bf 100644
--- a/x11/nvidia-driver/distinfo
+++ b/x11/nvidia-driver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745330770
-SHA256 (NVIDIA-FreeBSD-x86_64-570.144.tar.xz) = 7912c9f101b29fec10c434b1389b1403489fa3008fae67d1b76ef3d9f4b5388f
-SIZE (NVIDIA-FreeBSD-x86_64-570.144.tar.xz) = 260506500
+TIMESTAMP = 1755354183
+SHA256 (NVIDIA-FreeBSD-x86_64-580.76.05.tar.xz) = 11731d9ca505cf86a70afc448f9a2d283a8baab78b446507c405a5f75d46ad4d
+SIZE (NVIDIA-FreeBSD-x86_64-580.76.05.tar.xz) = 288781800