Page MenuHomeFreeBSD

D40172.id122424.diff
No OneTemporary

D40172.id122424.diff

diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -266,6 +266,9 @@
${REINPLACE_CMD} -e '/vm_offset_t address;/s,vm_offset_t ,void *,' \
${WRKSRC}/src/${NVSRC}/nvidia_subr.c
.endif
+# Fix a K&R prototype
+ ${REINPLACE_CMD} -e '/nvlink_allocLock/s,(),(void),' \
+ ${WRKSRC}/src/${NVSRC}/nvlink_freebsd.c
# Finally, process OPTIONS
.if ${PORT_OPTIONS:MFREEBSD_AGP}
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 12:19 PM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14761246
Default Alt Text
D40172.id122424.diff (525 B)

Event Timeline