aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-22 19:19:54 +0800
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-22 19:19:54 +0800
commit7e1c61a2ad44d47ca7a870ed43c0aa923cbf58c8 (patch)
treee898f9cca91b797087dbab37a228d9a5d1461530
parent7f1256834ff7d56a967aa9d24b8bc93926a2af2b (diff)
downloadfreebsd-ports-gnome-7e1c61a2ad44d47ca7a870ed43c0aa923cbf58c8.tar.gz
freebsd-ports-gnome-7e1c61a2ad44d47ca7a870ed43c0aa923cbf58c8.tar.zst
freebsd-ports-gnome-7e1c61a2ad44d47ca7a870ed43c0aa923cbf58c8.zip
deskutils/gnome-screenshot: fix build on GCC architectures
Use C11 compiler: /usr/local/include/libhandy-1/hdy-swipe-tracker.h:23: error: redefinition of typedef 'HdySwipeTracker' /usr/local/include/libhandy-1/hdy-types.h:15: error: previous declaration of 'HdySwipeTracker' was here
-rw-r--r--deskutils/gnome-screenshot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/deskutils/gnome-screenshot/Makefile b/deskutils/gnome-screenshot/Makefile
index 3a7c6601ad79..19c14800d891 100644
--- a/deskutils/gnome-screenshot/Makefile
+++ b/deskutils/gnome-screenshot/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
CONFLICTS= gnome-utils-2.[0-9]*
PORTSCOUT= limitw:1,even
-USES= gettext gnome meson pkgconfig python:3.4+,build \
+USES= compiler:c11 gettext gnome meson pkgconfig python:3.4+,build \
shebangfix tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XORG= x11 xext