MFH: r561354

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
This commit is contained in:
Piotr Kubaj 2021-01-12 17:37:54 +00:00
parent 6ca77ef305
commit 87bb753363
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=561355

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