aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2016-08-24 23:02:16 +0800
committerdanfe <danfe@FreeBSD.org>2016-08-24 23:02:16 +0800
commit1288ebb050f683594351b6fd4355fca239dfafd5 (patch)
tree265961a57bf91f900b0f572e20cd43955cf13006 /x11
parentd53c3fc8ca4532f4c7254e284cb59c1a83a81a8d (diff)
downloadfreebsd-ports-gnome-1288ebb050f683594351b6fd4355fca239dfafd5.tar.gz
freebsd-ports-gnome-1288ebb050f683594351b6fd4355fca239dfafd5.tar.zst
freebsd-ports-gnome-1288ebb050f683594351b6fd4355fca239dfafd5.zip
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.
Diffstat (limited to 'x11')
-rw-r--r--x11/nvidia-driver/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 8f98abca206c..9a2a93f8debc 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -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