[arch-commits] Commit in pari-sage/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Apr 3 17:33:21 UTC 2016


    Date: Sunday, April 3, 2016 @ 19:33:21
  Author: arojas
Revision: 169402

Remove stack size increase warnings

Modified:
  pari-sage/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-03 16:24:58 UTC (rev 169401)
+++ PKGBUILD	2016-04-03 17:33:21 UTC (rev 169402)
@@ -5,7 +5,7 @@
 pkgname=pari-sage
 _pkgver=2.8-2341-g61b65cc
 pkgver=${_pkgver//-/.}
-pkgrel=1
+pkgrel=2
 pkgdesc='Computer algebra system designed for fast computations in number theory. Development snapshot required by SageMath'
 url='http://pari.math.u-bordeaux.fr/'
 license=(GPL)
@@ -15,9 +15,17 @@
 optdepends=('perl: gphelp, tex2mail')
 conflicts=(pari)
 provides=(pari)
-source=("http://mirrors.mit.edu/sage/spkg/upstream/pari/pari-$_pkgver.tar.gz")
-md5sums=('03b83e4af898f456cae16c9ade1e1cb5')
+source=("http://mirrors.mit.edu/sage/spkg/upstream/pari/pari-$_pkgver.tar.gz"
+	https://raw.githubusercontent.com/sagemath/sage/master/build/pkgs/pari/patches/stackwarn.patch)
+md5sums=('03b83e4af898f456cae16c9ade1e1cb5'
+         '8cc6dc97128ae6ab965e5d1924d2318c')
 
+prepare() {
+  cd pari-${_pkgver}
+# Silence warnings when increasing stack size
+  patch -p1 -i ../stackwarn.patch
+}
+
 build() {
   cd pari-${_pkgver}
   ./Configure --prefix=/usr --with-readline --mt=pthread --with-gmp



More information about the arch-commits mailing list