From 687a1cb70170e2ff80275acb478de3bb1c08278e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Fri, 8 Jul 2016 10:36:17 +0200 Subject: community/wbar: disable -Werror --- community/wbar/APKBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'community/wbar/APKBUILD') diff --git a/community/wbar/APKBUILD b/community/wbar/APKBUILD index 84dbe742d4..d2d52b7a16 100644 --- a/community/wbar/APKBUILD +++ b/community/wbar/APKBUILD @@ -18,13 +18,9 @@ source="https://wbar.googlecode.com/files/$pkgname-$pkgver.tgz _builddir=$srcdir/$pkgname-$pkgver prepare() { - local i cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare + sed -i '/-Werror/d' src/Makefile.* } build() { -- cgit v1.2.3