aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-13 10:29:16 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-13 10:29:16 +0000
commitb4909e6a22131754caf564e63a321285df3f3498 (patch)
tree7b9dccf9ca08661ceb27f649a01b80543b9ec4c8 /deskutils
parent4c3ca64bda9ff08ce5386b1f07f71a670c10b938 (diff)
downloadports-b4909e6a22131754caf564e63a321285df3f3498.tar.gz
ports-b4909e6a22131754caf564e63a321285df3f3498.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gworkspace/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/deskutils/gworkspace/Makefile b/deskutils/gworkspace/Makefile
index 11990ae75a15..d3ceaa6127f3 100644
--- a/deskutils/gworkspace/Makefile
+++ b/deskutils/gworkspace/Makefile
@@ -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