1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add compiler:c++11-lang to USES to fix build on GCC-based systems:

../lib/common/font-manager-aliases.c:217: error: 'for' loop initial declaration used outside C99 mode

Note: adding USE_CSTD=c99 was insufficient due to other errors.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2021-01-30 15:00:13 +00:00
parent 3412e9c377
commit 97c7bc4b97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563413

View File

@ -22,8 +22,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES= desktop-file-utils gettext-tools gnome meson pkgconfig \
python:3.6+ shebangfix sqlite
USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome meson \
pkgconfig python:3.6+ shebangfix sqlite
USE_GITHUB= yes
GH_ACCOUNT= FontManager
USE_GNOME= cairo glib20 gtk30 libxml2 pango