summaryrefslogtreecommitdiff
path: root/pcr/aspcud
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 04:14:54 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 04:14:54 -0500
commit2bbb1b0de9db1254c13c09b12c9cf9990482a383 (patch)
treeb6668032383fcdca22fb1aec28cc88d49781968d /pcr/aspcud
parent1324833f8988e5e5f43f7e2b57b95d90fb45d7d9 (diff)
downloadabslibre-2bbb1b0de9db1254c13c09b12c9cf9990482a383.tar.gz
abslibre-2bbb1b0de9db1254c13c09b12c9cf9990482a383.tar.bz2
abslibre-2bbb1b0de9db1254c13c09b12c9cf9990482a383.zip
aspcud-1.9.0-1.1-1.5.4-3: rebuild
Diffstat (limited to 'pcr/aspcud')
-rw-r--r--pcr/aspcud/PKGBUILD15
-rw-r--r--pcr/aspcud/boost.patch13
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;