svn commit: r561452 - head/deskutils/gworkspace
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Jan 13 10:29:17 UTC 2021
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
More information about the svn-ports-all
mailing list