diff options
author | Patrick Griffis | 2016-11-02 14:03:47 -0400 |
---|---|---|
committer | Patrick Griffis | 2016-11-02 14:03:47 -0400 |
commit | 7a13d7f35cc5b8084bde29ee8866a9da0e4b4248 (patch) | |
tree | 1ad39335d94d1d9d67c058b70d659abfe5af41f2 /PKGBUILD | |
parent | 71aeb3307adbfd4d14d5c195e13b41fc863f89af (diff) | |
download | aur-7a13d7f35cc5b8084bde29ee8866a9da0e4b4248.tar.gz |
Backport build fix
There is still an error left
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -8,14 +8,22 @@ url='https://people.collabora.com/~pwith/gnome-clang/' arch=('i686' 'x86_64') license=('GPL3') depends=('llvm' 'clang' 'glib2' 'gobject-introspection') -source=("https://www.freedesktop.org/software/tartan/releases/tartan-$pkgver.tar.xz") -# Alt: https://git.collabora.com/git/tartan.git -sha256sums=('008f8195de142900443f10d7a0a1e5a0360c1296e5684274fa39c148a161c731') +source=("https://www.freedesktop.org/software/tartan/releases/tartan-$pkgver.tar.xz" + 'fix-clang-3.8.patch::https://cgit.freedesktop.org/tartan/patch/clang-plugin?id=53f9d7cbf5e0c0f9445e7e7af382a546de2f4a89') +sha256sums=('008f8195de142900443f10d7a0a1e5a0360c1296e5684274fa39c148a161c731' + '785445a36752a87934d9d3d32df39cd2af8aba70c25f6f72bd34f7194b46501f') + +prepare() { + cd "$pkgname-$pkgver" + + patch -p1 < "$srcdir/fix-clang-3.8.patch" +} build() { cd "$pkgname-$pkgver" - ./configure --prefix=/usr + ./autogen.sh --prefix=/usr + sed -i 's|^#define NDEBUG|//|' config.h make } |