diff options
Diffstat (limited to 'pcr/aspcud')
-rw-r--r-- | pcr/aspcud/PKGBUILD | 15 | ||||
-rw-r--r-- | pcr/aspcud/boost.patch | 13 |
2 files changed, 24 insertions, 4 deletions
diff --git a/pcr/aspcud/PKGBUILD b/pcr/aspcud/PKGBUILD index b88357290..d8ebdca92 100644 --- a/pcr/aspcud/PKGBUILD +++ b/pcr/aspcud/PKGBUILD @@ -4,19 +4,26 @@ pkgname=aspcud groups=('potassco') pkgver=1.9.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="Solver for package dependencies" -arch=('x86_64' 'i686' 'armv6h' 'armv7h') +arch=('x86_64' 'i686') url="http://potassco.sourceforge.net/" license=('GPL3') depends=('clasp>=2.1.3' 'gringo>=4.2.1') conflicts=('aspcud-svn') makedepends=('boost' 'cmake' 're2c') -source=("http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz") -md5sums=(9d014548e36480957cb97486e6312bea) +source=( + "http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz" + "boost.patch" +) +md5sums=( + '9d014548e36480957cb97486e6312bea' + '6c2dda3cf7dd76bc41d1c8ed379dc5ed' +) build() { cd "$srcdir/$pkgname-$pkgver-source" + patch -p0 < "$srcdir/boost.patch" mkdir -p build/release cd build/release cmake \ diff --git a/pcr/aspcud/boost.patch b/pcr/aspcud/boost.patch new file mode 100644 index 000000000..bda6dfa24 --- /dev/null +++ b/pcr/aspcud/boost.patch @@ -0,0 +1,13 @@ +Index: libcudf/src/dependency.cpp +=================================================================== +--- libcudf/src/dependency.cpp (révision 8600) ++++ libcudf/src/dependency.cpp (révision 8770) +@@ -49,7 +49,7 @@ + + struct CudfPackageRefFilter { + CudfPackageRefFilter(const Cudf::PackageRef &ref) : ref(&ref) { } +- bool operator()(const Entity *entity) { ++ bool operator()(const Entity *entity) const { + switch (ref->op) { + case Cudf::PackageRef::EQ: + return (entity->version == ref->version || entity->allVersions()) && ref->version != 0; |