svn commit: r378119 - head/x11/nvidia-driver
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Jan 29 14:35:38 UTC 2015
Author: danfe
Date: Thu Jan 29 14:35:36 2015
New Revision: 378119
URL: https://svnweb.freebsd.org/changeset/ports/378119
QAT: https://qat.redports.org/buildarchive/r378119/
Log:
- Update mainstream version to 340.76
- The d_thread_t typedef is a compatibility shim to support FreeBSD 4.X:
plans are to remove it in FreeBSD 11.X, so prepare for that in advance
PR: 196693
Submitted by: jhb
Modified:
head/x11/nvidia-driver/Makefile
head/x11/nvidia-driver/distinfo
Modified: head/x11/nvidia-driver/Makefile
==============================================================================
--- head/x11/nvidia-driver/Makefile Thu Jan 29 13:33:38 2015 (r378118)
+++ head/x11/nvidia-driver/Makefile Thu Jan 29 14:35:36 2015 (r378119)
@@ -11,7 +11,7 @@
# or `x11/nvidia-driver-304' slave ports.
PORTNAME= nvidia-driver
-DISTVERSION?= 340.65
+DISTVERSION?= 340.76
# Always try to set PORTREVISION as it can be overridden by the slave ports
PORTREVISION?= 0
CATEGORIES= x11
@@ -191,6 +191,10 @@ post-patch: .SILENT
s/^[[:blank:]]*CTLFLAG_RD/CTLTYPE_STRING |&/' \
${WRKSRC}/src/nvidia_sysctl.c
.endif
+# Replace d_thread_t (compat shim to support FreeBSD 4) with `struct thread'
+ ${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \
+ ${WRKSRC}/src/nvidia_ctl.c ${WRKSRC}/src/nvidia_dev.c \
+ ${WRKSRC}/src/nvidia_linux.c
# Fix stack buffer overflow in nvidia_sysctl_bus_type()
${REINPLACE_CMD} -e 's/8 bus_type\[4\]/8 bus_type[8]/' \
${WRKSRC}/src/nvidia_sysctl.c
Modified: head/x11/nvidia-driver/distinfo
==============================================================================
--- head/x11/nvidia-driver/distinfo Thu Jan 29 13:33:38 2015 (r378118)
+++ head/x11/nvidia-driver/distinfo Thu Jan 29 14:35:36 2015 (r378119)
@@ -1,7 +1,7 @@
-SHA256 (NVIDIA-FreeBSD-x86_64-340.65.tar.gz) = b613d806d02686bd61b6dcbed1ba29f63a009a504a2a59094208328aac08a029
-SIZE (NVIDIA-FreeBSD-x86_64-340.65.tar.gz) = 60204269
-SHA256 (NVIDIA-FreeBSD-x86-340.65.tar.gz) = e8b5df30c4c2fd7b715d143dca987894bf4d3c28e43132c0cd02143cc0d96d5a
-SIZE (NVIDIA-FreeBSD-x86-340.65.tar.gz) = 59368245
+SHA256 (NVIDIA-FreeBSD-x86_64-340.76.tar.gz) = 60037d035b9af9f1d4dcdd5033e1b28b0cd4c7ca94f6bcb8d267e037a930fdc0
+SIZE (NVIDIA-FreeBSD-x86_64-340.76.tar.gz) = 60206978
+SHA256 (NVIDIA-FreeBSD-x86-340.76.tar.gz) = 0abbcc3bed3f017e7f1887a5c2d014e2b5a020462071998986ed49cdb8e7119f
+SIZE (NVIDIA-FreeBSD-x86-340.76.tar.gz) = 59362290
SHA256 (NVIDIA-FreeBSD-x86_64-304.125.tar.gz) = 46b14b8c5ee1c02ff5e30afc9c99f4dd2edc426ccb2b73764093a1787639699d
SIZE (NVIDIA-FreeBSD-x86_64-304.125.tar.gz) = 35498616
SHA256 (NVIDIA-FreeBSD-x86-304.125.tar.gz) = 806d0bff9d394390b3a257472bc342857f150e9dba6673e6b930f47a93ec0269
More information about the svn-ports-all
mailing list