Date: Wed, 26 Aug 2020 03:28:07 +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: r546244 - head/sysutils/nvclock Message-ID: <202008260328.07Q3S7hd077488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Wed Aug 26 03:28:07 2020 New Revision: 546244 URL: https://svnweb.freebsd.org/changeset/ports/546244 Log: Unbreak the build with -fno-common (Clang 11, GCC 10). Reported by: pkg-fallout Modified: head/sysutils/nvclock/Makefile Modified: head/sysutils/nvclock/Makefile ============================================================================== --- head/sysutils/nvclock/Makefile Wed Aug 26 01:55:20 2020 (r546243) +++ head/sysutils/nvclock/Makefile Wed Aug 26 03:28:07 2020 (r546244) @@ -48,5 +48,8 @@ post-patch: ${WRKSRC}/src/qt/Makefile.in @${REINPLACE_CMD} 's/-lnvcontrol/& @X11_LIBS@/' \ ${WRKSRC}/src/gtk/Makefile.in +# Fix the build with -fno-common (for Clang 11 and GCC 10) + @${REINPLACE_CMD} '/option_list/s,^,extern ,' \ + ${WRKSRC}/src/nvcontrol/nvcontrol.h .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008260328.07Q3S7hd077488>