From a13246489393ec646f56dc1735eafb65f4cd1642 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 13 Oct 2019 21:57:01 +0200 Subject: [PATCH] modem/libsmdpkt_wrapper: disable Werror Fixes the build with GCC-9. --- modem/libsmdpkt_wrapper/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modem/libsmdpkt_wrapper/APKBUILD b/modem/libsmdpkt_wrapper/APKBUILD index 64e381b87..81e5820ff 100644 --- a/modem/libsmdpkt_wrapper/APKBUILD +++ b/modem/libsmdpkt_wrapper/APKBUILD @@ -1,6 +1,6 @@ pkgname=libsmdpkt_wrapper pkgver=0.1 -pkgrel=0 +pkgrel=1 pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)" url="https://github.com/scintill/libsmdpkt_wrapper" arch="all" @@ -12,6 +12,11 @@ source="$pkgname-$_tag.tar.gz::https://github.com/scintill/libsmdpkt_wrapper/arc builddir="$srcdir""/libsmdpkt_wrapper-${pkgver}" options="!check" +prepare() { + default_prepare + sed s/-Werror/-W/g -i Makefile +} + build() { cd "$builddir" make