1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

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
This commit is contained in:
Piotr Kubaj 2021-01-12 17:37:06 +00:00
parent 26dab0e0c2
commit 4acd8af5ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561354

View File

@ -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