Re: git: ec2e657d485a - main - x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock.

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 28 May 2023 09:15:59 UTC
John Baldwin <jhb@FreeBSD.org> writes:

> +# Fix a K&R prototype
> +	${REINPLACE_CMD} -e '/nvlink_allocLock/s,(),(void),' \
> +		${WRKSRC}/src/${NVSRC}/nvlink_freebsd.c

$ make clean all -C x11/nvidia-driver-304
[..]
sed: /usr/ports/x11/nvidia-driver-304/work/NVIDIA-FreeBSD-x86_64-304.137/src/./nvlink_freebsd.c: No such file or directory
*** Error code 1

$ make clean all -C x11/nvidia-driver-340
[...]
sed: /usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/./nvlink_freebsd.c: No such file or directory
*** Error code 1