[arch-commits] Commit in polymake/trunk (PKGBUILD polymake-normaliz-3.8.3.patch)

Antonio Rojas arojas at archlinux.org
Wed Dec 11 13:39:09 UTC 2019


    Date: Wednesday, December 11, 2019 @ 13:39:09
  Author: arojas
Revision: 536885

Rebuild with normaliz 3.8.3

Added:
  polymake/trunk/polymake-normaliz-3.8.3.patch
Modified:
  polymake/trunk/PKGBUILD

-------------------------------+
 PKGBUILD                      |   13 ++++++++++---
 polymake-normaliz-3.8.3.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-11 13:15:16 UTC (rev 536884)
+++ PKGBUILD	2019-12-11 13:39:09 UTC (rev 536885)
@@ -5,7 +5,7 @@
 _patchver=
 #pkgver=$_pkgver.r$_patchver
 pkgver=$_pkgver
-pkgrel=1
+pkgrel=2
 pkgdesc="Open source software for research in polyhedral geometry"
 arch=(x86_64)
 url="https://polymake.org/"
@@ -14,9 +14,16 @@
          perl-term-readline-gnu perl-term-readkey perl-json sympol)
 makedepends=(ninja cddlib ant boost bliss libnsl jdk8-openjdk permlib)
 optdepends=('java-runtime: java module')
-source=("https://polymake.org/lib/exe/fetch.php/download/polymake-${_pkgver}-minimal.tar.bz2")
-sha256sums=('b3378e0cc108e77894e4f2ec4b2f9e22190a59bba6482716900d741cb6775bab')
+source=("https://polymake.org/lib/exe/fetch.php/download/polymake-${_pkgver}-minimal.tar.bz2"
+         polymake-normaliz-3.8.3.patch)
+sha256sums=('b3378e0cc108e77894e4f2ec4b2f9e22190a59bba6482716900d741cb6775bab'
+            'cbcff6ffd486c4c2ac8dede32c3103b4b3a87d89199c083390ad48b961905776')
 
+prepare() {
+  cd polymake-$_pkgver
+  patch -p1 -i ../polymake-normaliz-3.8.3.patch # Fix build against normaliz 3.8.3
+}
+
 build() {
   cd polymake-$_pkgver
   ./configure --prefix=/usr --with-cdd=/usr --with-lrs=/usr --with-permlib=/usr --with-sympol=/usr

Added: polymake-normaliz-3.8.3.patch
===================================================================
--- polymake-normaliz-3.8.3.patch	                        (rev 0)
+++ polymake-normaliz-3.8.3.patch	2019-12-11 13:39:09 UTC (rev 536885)
@@ -0,0 +1,11 @@
+--- polymake-3.6/bundled/libnormaliz/support/configure.pl.orig	2019-12-11 12:29:31.089671103 +0000
++++ polymake-3.6/bundled/libnormaliz/support/configure.pl	2019-12-11 12:29:52.549969615 +0000
+@@ -69,7 +69,7 @@
+    }
+ 
+    if ($nmz_path ne "bundled") {
+-      my $error=Polymake::Configure::build_test_program(<<'---', LIBS => "-lnormaliz -lgmpxx -lgmp", CXXFLAGS => "$CXXFLAGS", LDFLAGS => "$LDFLAGS");
++      my $error=Polymake::Configure::build_test_program(<<'---', LIBS => "-lnormaliz -lgmpxx -lgmp -leantic", CXXFLAGS => "$CXXFLAGS", LDFLAGS => "$LDFLAGS");
+ 
+ #include <cstddef>
+ #include <vector>


More information about the arch-commits mailing list