diff options
author | larchunix | 2019-05-14 10:01:08 +0200 |
---|---|---|
committer | larchunix | 2019-05-14 10:01:08 +0200 |
commit | 510455f5d7ec9c11950a8961b39cd89cbc0a8b8c (patch) | |
tree | 700cf380bbb2dd9ab62fe3a515f914f252d589e9 | |
parent | 4bf21b319916ab173b80af954d4372539dcb266f (diff) | |
download | aur-510455f5d7ec9c11950a8961b39cd89cbc0a8b8c.tar.gz |
FTBFS fix with SWIG 4
See https://github.com/openSUSE/libsolv/issues/325
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = libsolv pkgdesc = Library for solving packages and reading repositories pkgver = 0.7.4 - pkgrel = 2 + pkgrel = 3 url = https://github.com/openSUSE/libsolv arch = i686 arch = x86_64 @@ -22,7 +22,9 @@ pkgbase = libsolv optdepends = python: for python bindings optdepends = ruby: for ruby bindings source = https://github.com/openSUSE/libsolv/archive/0.7.4/libsolv-0.7.4.tar.gz + source = libsolv-0.7.4-fix-for-swig-4.patch::https://bugzilla.redhat.com/attachment.cgi?id=1565131 md5sums = 8798e1b32d7c5e3a99e8b26b6b8818b5 + md5sums = 027174a79ffa99a13eb26885e9a2aa61 pkgname = libsolv @@ -1,6 +1,6 @@ pkgname=libsolv pkgver=0.7.4 -pkgrel=2 +pkgrel=3 pkgdesc="Library for solving packages and reading repositories" arch=('i686' 'x86_64') url="https://github.com/openSUSE/$pkgname" @@ -10,13 +10,18 @@ makedepends=('cmake' 'perl' 'python' 'ruby' 'swig') optdepends=('perl: for perl bindings' 'python: for python bindings' 'ruby: for ruby bindings') -source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") -md5sums=('8798e1b32d7c5e3a99e8b26b6b8818b5') +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz" + "$pkgname-0.7.4-fix-for-swig-4.patch::https://bugzilla.redhat.com/attachment.cgi?id=1565131") +md5sums=('8798e1b32d7c5e3a99e8b26b6b8818b5' + '027174a79ffa99a13eb26885e9a2aa61') prepare() { cd "$pkgname-$pkgver" rm -rf build mkdir build + + # See https://github.com/openSUSE/libsolv/issues/325 + patch -p1 -i "$srcdir/$pkgname-0.7.4-fix-for-swig-4.patch" } build() { |