Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103067396
D40172.id122424.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
525 B
Referenced Files
None
Subscribers
None
D40172.id122424.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40172: x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock.
Attached
Detach File
Event Timeline
Log In to Comment