ModemManager: fix gcc6 build
Disable -Werror for gcc6 warning -Wmisleading-indentation
This commit is contained in:
parent
895f21bf39
commit
891592f58c
1 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'ModemManager'
|
||||
pkgname=ModemManager
|
||||
version=1.4.14
|
||||
revision=2
|
||||
build_options="gir"
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --sbindir=/usr/bin
|
||||
--with-udev-base-dir=/usr/lib/udev --with-polkit=permissive
|
||||
|
@ -19,10 +18,16 @@ license="GPL-2"
|
|||
distfiles="$FREEDESKTOP_SITE/$pkgname/$pkgname-$version.tar.xz"
|
||||
checksum=abe6cdd515a774bcba3afdcdb1e504569801e79282ccdf26099f33cbb8731ba2
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
# Disable -Werror for gcc6 -Wmisleading-indentation
|
||||
sed -i configure -e"s; -Werror;;g"
|
||||
}
|
||||
|
||||
ModemManager-devel_package() {
|
||||
depends="libmm-glib>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue