diff options
author | Dana Sorensen | 2018-05-20 11:04:56 -0600 |
---|---|---|
committer | Dana Sorensen | 2018-05-20 11:04:56 -0600 |
commit | bd494bb7dd6fcb0ace1258613ebbef01caf806b7 (patch) | |
tree | 625a5f1dbfdf2dd24f5d59029b27bab9aa1c009a | |
parent | c37fd78408a63b6759006417210e7c414ca2d2bc (diff) | |
download | aur-bd494bb7dd6fcb0ace1258613ebbef01caf806b7.tar.gz |
remove -Werror flag in makefile (otherwise won't build)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = iio-oscilloscope-git pkgdesc = A GTK+ based oscilloscope application for interfacing with various IIO devices - pkgver = v0.7.r44.9eadbd9 + pkgver = v0.7.r74.11121a9 pkgrel = 1 url = https://github.com/analogdevicesinc/iio-oscilloscope arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Dana Sorensen <dana.r.sorensen@gmail.com> pkgname=iio-oscilloscope-git -pkgver=v0.7.r44.9eadbd9 +pkgver=v0.7.r74.11121a9 pkgrel=1 pkgdesc="A GTK+ based oscilloscope application for interfacing with various IIO devices" arch=('i686' 'x86_64' 'armv6h' 'armv7h') @@ -20,6 +20,8 @@ pkgver() { } prepare() { + # remove -Werror flag (don't treat warnings as errors) + sed -i 's/-Werror//g' "$srcdir/${pkgname%-git}/Makefile" # don't ldconfig or update xdg caches (pacman does this) sed -i '/ldconfig/s/^/#/' "$srcdir/${pkgname%-git}/Makefile" sed -i '/--noupdate/! s/\(xdg-icon-resource\) \(\(un\)\?install\)/\1 \2 --noupdate/' "$srcdir/${pkgname%-git}/Makefile" |