diff options
-rw-r--r-- | pcr/gringo/PKGBUILD | 7 | ||||
-rw-r--r-- | pcr/gringo/uint_max.patch | 20 |
2 files changed, 5 insertions, 22 deletions
diff --git a/pcr/gringo/PKGBUILD b/pcr/gringo/PKGBUILD index 4e9e56248..f2d218872 100644 --- a/pcr/gringo/PKGBUILD +++ b/pcr/gringo/PKGBUILD @@ -4,15 +4,18 @@ pkgname=gringo groups=('potassco') pkgver=4.4.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="Grounding tools for (disjunctive) logic programs." -arch=('x86_64' 'i686' 'armv6h' 'armv7h') +arch=('x86_64' 'i686') url="http://potassco.sourceforge.net/" license=('GPL3') depends=() makedepends=('bison' 're2c' 'scons') source=( "http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz") +md5sums='00627846648d6818117bfa8185e491c6' + + build() { cd "${srcdir}/${pkgname}-${pkgver}-source" diff --git a/pcr/gringo/uint_max.patch b/pcr/gringo/uint_max.patch deleted file mode 100644 index b554b9361..000000000 --- a/pcr/gringo/uint_max.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -ur gringo-4.3.0-source/app/gringo/main.cc gringo-4.3.0-source-patched/app/gringo/main.cc ---- gringo-4.3.0-source/app/gringo/main.cc 2014-02-20 18:27:32.000000000 +0100 -+++ gringo-4.3.0-source-patched/app/gringo/main.cc 2014-02-25 15:36:41.432512611 +0100 -@@ -34,6 +34,7 @@ - #include <gringo/version.hh> - #include <gringo/control.hh> - #include <iostream> -+#include <limits> - #include <stdexcept> - #include <program_opts/application.h> - #include <program_opts/typed_value.h> -@@ -263,7 +264,7 @@ - - virtual void run() { - using namespace Gringo; -- grOpts_.verbose = verbose() == UINT_MAX; -+ grOpts_.verbose = verbose() == std::numeric_limits<unsigned int>::max(); - Output::OutputPredicates outPreds; - if (grOpts_.text) { - Output::OutputBase out(std::move(outPreds), std::cout, grOpts_.lpRewrite); |