summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Sorensen2018-05-20 11:04:56 -0600
committerDana Sorensen2018-05-20 11:04:56 -0600
commitbd494bb7dd6fcb0ace1258613ebbef01caf806b7 (patch)
tree625a5f1dbfdf2dd24f5d59029b27bab9aa1c009a
parentc37fd78408a63b6759006417210e7c414ca2d2bc (diff)
downloadaur-bd494bb7dd6fcb0ace1258613ebbef01caf806b7.tar.gz
remove -Werror flag in makefile (otherwise won't build)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4e8a676f3cc..f361c749f019 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 621639cbe4a6..127faeda707a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"