FreeBSD Bugzilla – Attachment 148557 Details for
Bug 194523
x11/nvidia-driver: nvidia_sysctl.c:38:5: error: static_assert failed "compile-time assertion failed" SYSCTL_ADD_STRING(&sysctl_ctx,
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
fix.diff (text/plain), 750 bytes, created by
Jan Beich
on 2014-10-22 03:38:16 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2014-10-22 03:38:16 UTC
Size:
750 bytes
patch
obsolete
>Index: x11/nvidia-driver/Makefile >=================================================================== >--- x11/nvidia-driver/Makefile (revision 371112) >+++ x11/nvidia-driver/Makefile (working copy) >@@ -176,6 +182,12 @@ post-patch: .SILENT > ${REINPLACE_CMD} -e 's/virtual_address, size,/& 0,/' \ > ${WRKSRC}/src/nvidia_subr.c > .endif >+# FreeBSD src SVN r273377 forbids overspecifying CTLTYPE_* for sysctls >+.if ${OSVERSION} > 1100039 || (${OSVERSION} > 1001501 && ${OSVERSION} < 1100000) >+ ${REINPLACE_CMD} -E '/SYSCTL_ADD_(STRING|UINT)/,/;/ \ >+ s/CTLTYPE_(STRING|UINT) \| //' \ >+ ${WRKSRC}/src/nvidia_sysctl.c >+.endif > # Fix stack buffer overflow in nvidia_sysctl_bus_type() > .if ${NVVERSION} < 3192300 > ${REINPLACE_CMD} -E '/bus_type\[4\]/d ; \
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 194523
: 148557