From b1fd4078047bcd8470ad0b642cc9d1fa1060cd4e Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 1 Oct 2019 04:31:42 +0000 Subject: [PATCH] sysutils/xfce4-settings: fix build on GCC architectures Use C11 compiler: In file included from /usr/local/include/xfce4/libxfce4util/libxfce4util.h:33, from xfce-randr.c:30: /usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:37: error: redefinition of typedef 'XfceKiosk' /usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:35: error: previous declaration of 'XfceKiosk' was here Approved by: mentors (implicit approval) --- sysutils/xfce4-settings/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysutils/xfce4-settings/Makefile b/sysutils/xfce4-settings/Makefile index b62cc51b55e4..4781577e1928 100644 --- a/sysutils/xfce4-settings/Makefile +++ b/sysutils/xfce4-settings/Makefile @@ -17,8 +17,8 @@ LIB_DEPENDS= libcolord.so:graphics/colord \ libfontconfig.so:x11-fonts/fontconfig \ libxklavier.so:x11/libxklavier -USES= gettext-tools gmake gnome libtool pkgconfig tar:bzip2 \ - xfce xorg +USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ + tar:bzip2 xfce xorg USE_GNOME= cairo glib20 gtk30 intltool USE_XFCE= garcon libexo xfconf USE_XORG= xorgproto x11 xcursor xi xrandr