Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 17:37:06 +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: r561354 - head/sysutils/cinnamon-settings-daemon
Message-ID:  <202101121737.10CHb6PG059576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jan 12 17:37:06 2021
New Revision: 561354
URL: https://svnweb.freebsd.org/changeset/ports/561354

Log:
  sysutils/cinnamon-settings-daemon: fix build on GCC architectures
  
  ../plugins/power/csd-power-manager.c:3490: error: 'for' loop initial declaration used outside C99 mode
  
  USE_CSTD=c99 also fixes it, but dependencies already mandate installing gcc9
  
  MFH:		2021Q1

Modified:
  head/sysutils/cinnamon-settings-daemon/Makefile

Modified: head/sysutils/cinnamon-settings-daemon/Makefile
==============================================================================
--- head/sysutils/cinnamon-settings-daemon/Makefile	Tue Jan 12 17:33:02 2021	(r561353)
+++ head/sysutils/cinnamon-settings-daemon/Makefile	Tue Jan 12 17:37:06 2021	(r561354)
@@ -35,8 +35,8 @@ LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
 		libharfbuzz.so:print/harfbuzz
 RUN_DEPENDS=	cinnamon-session:x11/cinnamon-session
 
-USES=		gettext-tools gnome localbase meson pkgconfig python:3.5+,build \
-		shebangfix xorg
+USES=		compiler:c11 gettext-tools gnome localbase meson pkgconfig \
+		python:3.5+,build shebangfix xorg
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool libgnomekbd librsvg2
 USE_XORG=	x11 xext xfixes xi xtst
 



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