svn commit: r420797 - head/x11/nvidia-driver
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Aug 24 15:02:18 UTC 2016
Author: danfe
Date: Wed Aug 24 15:02:16 2016
New Revision: 420797
URL: https://svnweb.freebsd.org/changeset/ports/420797
Log:
Remove another no-op sed(1) in-place patch: none of the currently supported
drivers attempt to allocate fixed width buffer bus_type[] on stack now.
Modified:
head/x11/nvidia-driver/Makefile
Modified: head/x11/nvidia-driver/Makefile
==============================================================================
--- head/x11/nvidia-driver/Makefile Wed Aug 24 14:50:17 2016 (r420796)
+++ head/x11/nvidia-driver/Makefile Wed Aug 24 15:02:16 2016 (r420797)
@@ -124,9 +124,6 @@ post-patch: .SILENT
${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
# Respect WITHOUT_LINUX setting
${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& !defined(WITHOUT_LINUX)/' \
${WRKSRC}/lib/Makefile
More information about the svn-ports-all
mailing list