mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
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.
This commit is contained in:
parent
3e61c9e50f
commit
3e2640e0aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420797
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user