aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/nvidia-driver/Makefile6
-rw-r--r--x11/nvidia-driver/distinfo20
2 files changed, 15 insertions, 11 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 1fdeaf43f6c6..7755fa759d47 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nvidia-driver
-DISTVERSION?= 270.41.19
+DISTVERSION?= 280.13
PORTREVISION?= 0 # As a reminder it can be overridden
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
@@ -111,6 +111,10 @@ post-patch: .SILENT
# Fix an apparent typo (present in several versions since 260.19.12)
${REINPLACE_CMD} -e 's/status != status/status != RM_OK/' \
${WRKSRC}/src/nvidia_os.c
+# Fix the build after fget(9) KPI was changed in r224778
+.if ${OSVERSION} > 900040 && ${NVVERSION} >= 1952200
+ ${REINPLACE_CMD} -e '/fget/s/&fp/0, &/' ${WRKSRC}/src/nvidia_linux.c
+.endif
.if defined(WITH_FREEBSD_AGP)
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \
${WRKSRC}/src/nv-freebsd.h
diff --git a/x11/nvidia-driver/distinfo b/x11/nvidia-driver/distinfo
index 652fa869fed0..f23c04b7f79e 100644
--- a/x11/nvidia-driver/distinfo
+++ b/x11/nvidia-driver/distinfo
@@ -1,10 +1,10 @@
-SHA256 (NVIDIA-FreeBSD-x86_64-270.41.19.tar.gz) = ee8124aed60fc7224898d3bc5dce23cca1160055a2b3d3ad23827cce384d948a
-SIZE (NVIDIA-FreeBSD-x86_64-270.41.19.tar.gz) = 29166391
-SHA256 (NVIDIA-FreeBSD-x86-270.41.19.tar.gz) = 352b3a666d7b799082896e82da6228eb61158dc1b9722a4f63ffe474b27b4750
-SIZE (NVIDIA-FreeBSD-x86-270.41.19.tar.gz) = 28488689
-SHA256 (NVIDIA-FreeBSD-x86-173.14.30.tar.gz) = 9e59d02ffadb4ea8dd57e07f60c1e1c0b7267c86ec3fc22bd1a86a884a2bb0a3
-SIZE (NVIDIA-FreeBSD-x86-173.14.30.tar.gz) = 17992540
-SHA256 (NVIDIA-FreeBSD-x86-96.43.19.tar.gz) = b5dce181cc654a729ba06dd528a180d14a792b0328fcfbf86bb0f819285c0dd5
-SIZE (NVIDIA-FreeBSD-x86-96.43.19.tar.gz) = 13352481
-SHA256 (NVIDIA-FreeBSD-x86-71.86.14.tar.gz) = 5a3c36dd9cfc0613190ca35d2e2c6aa88a703022dcf1d992bcc6526a5d8d3b04
-SIZE (NVIDIA-FreeBSD-x86-71.86.14.tar.gz) = 8067145
+SHA256 (NVIDIA-FreeBSD-x86_64-280.13.tar.gz) = 7783d5edcc06b4ebfb8d07c1ce451dff713a32a1b28e1e1fabaca7c75d9addf4
+SIZE (NVIDIA-FreeBSD-x86_64-280.13.tar.gz) = 30310021
+SHA256 (NVIDIA-FreeBSD-x86-280.13.tar.gz) = 2ad1882467a2d8a0b65dfa15e710e4938786e51f688e1d02d4d3343868b9239e
+SIZE (NVIDIA-FreeBSD-x86-280.13.tar.gz) = 29589886
+SHA256 (NVIDIA-FreeBSD-x86-173.14.31.tar.gz) = 98699bc8dc1dad86cebc2ed067b4fc5cd37b8540e897bb218f38ac80c4b4d875
+SIZE (NVIDIA-FreeBSD-x86-173.14.31.tar.gz) = 17991684
+SHA256 (NVIDIA-FreeBSD-x86-96.43.20.tar.gz) = e75fce272e72644d53e6ad3c0957fe173735a4b621726ce227ba8ecf9bd9c5cf
+SIZE (NVIDIA-FreeBSD-x86-96.43.20.tar.gz) = 14060884
+SHA256 (NVIDIA-FreeBSD-x86-71.86.15.tar.gz) = 7be5ba641eabaa96a068e147a1dd5d75aadc10575bb1d2c6e8529cd423438168
+SIZE (NVIDIA-FreeBSD-x86-71.86.15.tar.gz) = 8067916