Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 14:00:52 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513578 - head/math/xfce4-calculator-plugin
Message-ID:  <201910021400.x92E0qwx068875@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Oct  2 14:00:52 2019
New Revision: 513578
URL: https://svnweb.freebsd.org/changeset/ports/513578

Log:
  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)

Modified:
  head/math/xfce4-calculator-plugin/Makefile

Modified: head/math/xfce4-calculator-plugin/Makefile
==============================================================================
--- head/math/xfce4-calculator-plugin/Makefile	Wed Oct  2 13:50:22 2019	(r513577)
+++ head/math/xfce4-calculator-plugin/Makefile	Wed Oct  2 14:00:52 2019	(r513578)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910021400.x92E0qwx068875>