Package Details: aspcud-svn r8385-1

Git Clone URL: https://aur.archlinux.org/aspcud-svn.git (read-only)
Package Base: aspcud-svn
Description: Solver for package dependencies
Upstream URL: http://potassco.sourceforge.net/
Licenses: GPL3
Groups: potassco
Conflicts: aspcud
Provides: aspcud
Submitter: vbmithr
Maintainer: vbmithr
Last Packager: vbmithr
Votes: 1
Popularity: 0.000000
First Submitted: 2014-02-25 14:56
Last Updated: 2016-10-12 21:49

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

vbmithr commented on 2014-09-10 11:34

Fixed in trunk. Thanks for reporting.

vbmithr commented on 2014-09-10 09:02

Thanks for your patch. I'm sending this to upstream.

zhenya1007 commented on 2014-09-09 18:10

From af83aff2dae812bdcf8086b5ef642c52186abd86 Mon Sep 17 00:00:00 2001
From: Evgeny Roubinchtein <zhenya1007@gmail.com>
Date: Tue, 9 Sep 2014 10:53:36 -0700
Subject: [PATCH] A compilation fix.

Needed this patch to get the source to compile with.
boost 1.56.0-1
gcc 4.9.1-1
---
aspcud-svn/PKGBUILD | 13 ++++++++++---
aspcud-svn/dependency.cpp.patch | 11 +++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
create mode 100644 aspcud-svn/dependency.cpp.patch

diff --git a/aspcud-svn/PKGBUILD b/aspcud-svn/PKGBUILD
index 5929cb1..a29e97d 100644
--- a/aspcud-svn/PKGBUILD
+++ b/aspcud-svn/PKGBUILD
@@ -2,7 +2,7 @@

pkgname=aspcud-svn
groups=('potassco')
-pkgver=r8385
+pkgver=r8738
pkgrel=1
pkgdesc="Solver for package dependencies"
arch=('x86_64' 'i686' 'armv6h' 'armv7h')
@@ -12,8 +12,10 @@ depends=('clasp>=2.1.3' 'gringo>=4.2.1')
conflicts=('aspcud')
provides=('aspcud')
makedepends=('boost' 'cmake' 're2c')
-source=("$pkgname"::'svn+svn://svn.code.sf.net/p/potassco/code/trunk/aspcud')
-md5sums=('SKIP')
+source=("$pkgname"::'svn+svn://svn.code.sf.net/p/potassco/code/trunk/aspcud'
+ dependency.cpp.patch)
+md5sums=('SKIP'
+ 'c417b8aff0c290e07e6be27d68efe48a')

pkgver() {
cd "$srcdir/$pkgname"
@@ -21,6 +23,11 @@ pkgver() {
printf "r%s" "${ver//[[:alpha:]]}"
}

+prepare() {
+ cd "$srcdir/$pkgname"
+ patch -p3 -i $srcdir/dependency.cpp.patch
+}
+
build() {
cd "$srcdir/$pkgname"
mkdir -p build/release
diff --git a/aspcud-svn/dependency.cpp.patch b/aspcud-svn/dependency.cpp.patch
new file mode 100644
index 0000000..15b05b8
--- /dev/null
+++ b/aspcud-svn/dependency.cpp.patch
@@ -0,0 +1,11 @@
+--- ./src/aspcud-svn/libcudf/src/dependency.cpp.orig 2014-09-08 17:35:55.375674302 -0700
++++ ./src/aspcud-svn/libcudf/src/dependency.cpp 2014-09-08 18:09:00.832366212 -0700
+@@ -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;
--
2.1.0