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

Antonio Rojas arojas at archlinux.org
Sat Oct 17 21:30:47 UTC 2015


    Date: Saturday, October 17, 2015 @ 23:30:47
  Author: arojas
Revision: 144299

Add patch to fix a segfault

Modified:
  singular/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-17 20:14:18 UTC (rev 144298)
+++ PKGBUILD	2015-10-17 21:30:47 UTC (rev 144299)
@@ -5,7 +5,7 @@
 pkgname=singular
 pkgver=3.1.7.p1
 _majver=3-1-7
-pkgrel=9
+pkgrel=10
 pkgdesc="Computer Algebra System for polynomial computations"
 arch=(i686 x86_64)
 url="http://www.singular.uni-kl.de/"
@@ -12,11 +12,13 @@
 license=(GPL)
 depends=(flint cddlib) # polymake
 source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/src/$_majver/Singular-${_majver}p1.tar.gz" 
-"http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/src/$_majver/Singular-${_majver}-share.tar.gz" 'templates.patch' 'ntl8.patch')
+"http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/src/$_majver/Singular-${_majver}-share.tar.gz" 'templates.patch' 'ntl8.patch'
+"http://git.sagemath.org/sage.git/plain/build/pkgs/singular/patches/currring.patch")
 md5sums=('ce369519d1c5d07342722e78240ea044'
          'b9177c00e95ee21b137984bade9fc481'
          'a267423f3b25f0b91853f9cf607974a7'
-         '38ff8896595626d657fd386ea9408419')
+         '38ff8896595626d657fd386ea9408419'
+         '1fe968092b5e98878cd9b47c7d9acc81')
 
 prepare() {
   cd Singular-$_majver
@@ -25,6 +27,8 @@
   patch -p1 -i ../ntl8.patch
 # fix flint detection
   sed -e 's|-lmpir|-lgmp|' -i factory/configure -i Singular/configure
+# fix segfault
+  patch -p1 -i ../currring.patch
 }
 
 build() {



More information about the arch-commits mailing list