diff options
author | Frederic Bezies | 2017-06-12 22:29:50 +0200 |
---|---|---|
committer | Frederic Bezies | 2017-06-12 22:29:50 +0200 |
commit | 769c5050f0d49a3d7eb41f6bb5ccc482839abc88 (patch) | |
tree | 41fcbd0ba5344133d1fcc377839a114a1bd640fd /PKGBUILD | |
parent | 02fa23c00295f5d6cedc4f010c91f9be42402842 (diff) | |
download | aur-769c5050f0d49a3d7eb41f6bb5ccc482839abc88.tar.gz |
adding a workaround for gcc7
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -6,7 +6,7 @@ _build_gnome_help="no" # yes|no pkgname=easytag-git _gitname=easytag -pkgver=2.4.3.r50.g67864eb +pkgver=2.4.3.r51.gd0c0513 pkgrel=1 pkgdesc="Utility for viewing and editing tags for most audio formats - git version" arch=('i686' 'x86_64') @@ -28,7 +28,7 @@ sha1sums=('SKIP') pkgver() { cd "$_gitname" - git describe --tags | sed 's/^easytag-//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^easytag-//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { @@ -47,8 +47,9 @@ prepare() { build() { cd "$_gitname" - CXXFLAGS="$CXXFLAGS -Wno-error=deprecated-declarations" - + CXXFLAGS="$CXXFLAGS -Wno-error=deprecated-declarations -Wno-error" + # Workaround for gcc 7 + CFLAGS="$CFLAGS -Wno-error" ./configure --prefix=/usr make } |