FreeBSD Bugzilla – Attachment 151577 Details for
Bug 196693
x11/nvidia-driver: Remove d_thread_t usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
remove_d_thread_t.patch
file_196693.txt (text/plain), 661 bytes, created by
John Baldwin
on 2015-01-13 19:16:53 UTC
(
hide
)
Description:
remove_d_thread_t.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2015-01-13 19:16:53 UTC
Size:
661 bytes
patch
obsolete
>Index: x11/nvidia-driver/Makefile >=================================================================== >--- x11/nvidia-driver/Makefile (revision 376569) >+++ x11/nvidia-driver/Makefile (working copy) >@@ -191,6 +191,10 @@ > s/^[[:blank:]]*CTLFLAG_RD/CTLTYPE_STRING |&/' \ > ${WRKSRC}/src/nvidia_sysctl.c > .endif >+# Replace d_thread_t 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196693
: 151577