From 2dfe52f39c1d63be0356bf886ec0d94b007b5adf Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 2 Oct 2019 14:00:52 +0000 Subject: [PATCH] math/xfce4-calculator-plugin: fix build on GCC architectures Use C11 compiler: In file included from /usr/local/include/xfce4/libxfce4util/libxfce4util.h:33, from calculator.c:29: /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 heremv -f .deps/libcalculator_la-lexer.Tpo .deps/libcalculator_la-lexer.Plo Approved by: mentors (implicit approval) --- math/xfce4-calculator-plugin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/xfce4-calculator-plugin/Makefile b/math/xfce4-calculator-plugin/Makefile index 5af58c82b51d..72ca92b3c707 100644 --- a/math/xfce4-calculator-plugin/Makefile +++ b/math/xfce4-calculator-plugin/Makefile @@ -13,8 +13,8 @@ COMMENT= Simple calculator for the Xfce panel LICENSE= GPLv2 -USES= gettext-tools gmake gnome libtool pkgconfig tar:bz2 \ - xfce xorg +USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ + tar:bz2 xfce xorg USE_GNOME= cairo gtk30 intltool USE_XFCE= panel USE_XORG= x11