nautilus-sendto: fix gcc6 build

This commit is contained in:
Juergen Buchmueller 2016-09-17 16:41:08 +02:00
parent f5297de7cd
commit 5e52610290

View file

@ -1,7 +1,7 @@
# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.2
revision=3
revision=4
build_style=gnu-configure
configure_args="--disable-schemas-compile"
# XXX: add pidgin and gajim depends for plugins to work.
@ -18,3 +18,9 @@ build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
if [ "${_gccver%%.*}" -gt 5 ]; then
CFLAGS="-Wno-error=format-nonliteral"
fi