[arch-commits] Commit in cvc4/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Fri Dec 1 20:49:41 UTC 2017
Date: Friday, December 1, 2017 @ 20:49:41
Author: arojas
Revision: 271230
archrelease: copy trunk to community-testing-x86_64
Added:
cvc4/repos/community-testing-x86_64/
cvc4/repos/community-testing-x86_64/PKGBUILD
(from rev 271229, cvc4/trunk/PKGBUILD)
cvc4/repos/community-testing-x86_64/cvc4-gcc7.patch
(from rev 271229, cvc4/trunk/cvc4-gcc7.patch)
-----------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
cvc4-gcc7.patch | 10 ++++++++++
2 files changed, 44 insertions(+)
Copied: cvc4/repos/community-testing-x86_64/PKGBUILD (from rev 271229, cvc4/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-01 20:49:41 UTC (rev 271230)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Philipp Sieweck
+
+pkgname=cvc4
+pkgver=1.5
+pkgrel=1
+pkgdesc="An automatic theorem prover"
+arch=('x86_64')
+url="http://cvc4.cs.nyu.edu/web/"
+depends=('boost' 'libantlr3c' 'cln')
+optdepends=('readline: for an improved interaction support')
+license=('GPL' 'BSD' 'MIT' 'custom:HPND')
+source=("http://cvc4.cs.stanford.edu/downloads/builds/src/cvc4-$pkgver.tar.gz" cvc4-gcc7.patch)
+sha256sums=('11ee2c3c182556a5ef750da9631191b3ad6c4ea592eb81d067a2edc41e57bd7b'
+ 'be2a4a9c843da030b12215bebbd159f2b5acaa1465eb9d1aab2f10c350f4defa')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../cvc4-gcc7.patch # Fix build with GCC 7
+}
+
+build() {
+ cd $pkgname-$pkgver
+# export CXXFLAGS+=" -std=gnu++98"
+ ./configure --prefix=/usr --enable-optimization --disable-doxygen-doc --with-cln --enable-gpl
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make prefix="$pkgdir"/usr install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/cvc4/LICENSE
+}
Copied: cvc4/repos/community-testing-x86_64/cvc4-gcc7.patch (from rev 271229, cvc4/trunk/cvc4-gcc7.patch)
===================================================================
--- community-testing-x86_64/cvc4-gcc7.patch (rev 0)
+++ community-testing-x86_64/cvc4-gcc7.patch 2017-12-01 20:49:41 UTC (rev 271230)
@@ -0,0 +1,10 @@
+--- cvc4-1.5/src/parser/memory_mapped_input_buffer.cpp.orig 2017-12-01 20:08:52.816279335 +0000
++++ cvc4-1.5/src/parser/memory_mapped_input_buffer.cpp 2017-12-01 20:09:02.786301783 +0000
+@@ -17,6 +17,7 @@
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <stdint.h>
++#include <unistd.h>
+
+ #include <antlr3input.h>
+
More information about the arch-commits
mailing list