Date: Thu, 7 Jun 2018 16:04:42 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471930 - head/x11/nvidia-driver Message-ID: <201806071604.w57G4g9o012468@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu Jun 7 16:04:42 2018 New Revision: 471930 URL: https://svnweb.freebsd.org/changeset/ports/471930 Log: Garbage-collect some no longer relevant patching (it does nothing these days); these are not the changes being made, these are previous changes being removed: - Fix CTLFLAG_* values for SYSCTL_ADD_PROC() after FreeBSD src r273377 - Replace `d_thread_t' (FreeBSD 4 support compat shim) with `struct thread' Reviewed by: grep(1), diff(1), sha1(1) Modified: head/x11/nvidia-driver/Makefile Modified: head/x11/nvidia-driver/Makefile ============================================================================== --- head/x11/nvidia-driver/Makefile Thu Jun 7 16:01:09 2018 (r471929) +++ head/x11/nvidia-driver/Makefile Thu Jun 7 16:04:42 2018 (r471930) @@ -137,19 +137,6 @@ post-patch: .SILENT ${REINPLACE_CMD} -e 's:sys/capability\.h:sys/capsicum.h:' \ ${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c .endif -# Fix CTLFLAG_* values for SYSCTL_ADD_PROC() after FreeBSD src r273377 - ${REINPLACE_CMD} -e '/SYSCTL_ADD_PROC/,/;/ \ - s/^[[:blank:]]*CTLFLAG_RD/CTLTYPE_STRING |&/' \ - ${WRKSRC}/src/${NVSRC}/nvidia_sysctl.c -# Replace `d_thread_t' (FreeBSD 4 support compat shim) with `struct thread' - ${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \ - ${WRKSRC}/src/${NVSRC}/nvidia_ctl.c \ - ${WRKSRC}/src/${NVSRC}/nvidia_dev.c \ - ${WRKSRC}/src/${NVSRC}/nvidia_linux.c -.if ${NVVERSION} >= 358.009 - ${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \ - ${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c -.endif # Respect WITHOUT_LINUX setting ${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& !defined(WITHOUT_LINUX)/' \ ${WRKSRC}/lib/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806071604.w57G4g9o012468>