mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
brasero: fix gcc6 build
This commit is contained in:
parent
70632e137e
commit
da654b1285
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'brasero'
|
# Template file for 'brasero'
|
||||||
pkgname=brasero
|
pkgname=brasero
|
||||||
version=3.12.1
|
version=3.12.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-schemas-compile --disable-caches $(vopt_if gir introspection)"
|
configure_args="--disable-schemas-compile --disable-caches $(vopt_if gir introspection)"
|
||||||
hostmakedepends="pkg-config intltool cdrtools gnome-doc-utils itstool
|
hostmakedepends="pkg-config intltool cdrtools gnome-doc-utils itstool
|
||||||
|
@ -25,6 +25,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||||
|
if [ "${_gccver%%.*}" -gt 5 ]; then
|
||||||
|
CFLAGS="-Wno-error=format-nonliteral -Wno-error=format-y2k"
|
||||||
|
CXXFLAGS="-Wno-error=format-nonliteral -Wno-error=format-y2k"
|
||||||
|
fi
|
||||||
|
|
||||||
brasero-devel_package() {
|
brasero-devel_package() {
|
||||||
depends="gtk+3-devel brasero>=${version}_${revision}"
|
depends="gtk+3-devel brasero>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue