Date: Wed, 13 Jan 2021 10:29:16 +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: r561452 - head/deskutils/gworkspace Message-ID: <202101131029.10DATGnu081794@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Wed Jan 13 10:29:16 2021 New Revision: 561452 URL: https://svnweb.freebsd.org/changeset/ports/561452 Log: Ensure that there is only one variable definition per each object, as the C (and C++) standards mandated for years and compilers started to enforce as of recently (Clang 11, GCC 10). PR: 252122 Modified: head/deskutils/gworkspace/Makefile Modified: head/deskutils/gworkspace/Makefile ============================================================================== --- head/deskutils/gworkspace/Makefile Wed Jan 13 10:28:38 2021 (r561451) +++ head/deskutils/gworkspace/Makefile Wed Jan 13 10:29:16 2021 (r561452) @@ -26,6 +26,11 @@ PLIST_SUB+= PDFVIEW="" USES+= ghostscript .endif +post-patch: +# Fix the build with -fno-common (for Clang 11 and GCC 10) + @${REINPLACE_CMD} -e '/serverConnection/s,^,extern ,' \ + ${WRKSRC}/Inspector/ContentViewers/ImageViewer/Resizer.h + pre-configure: ${RM} -r ${WRKSRC}/GWMetadata
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101131029.10DATGnu081794>