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

Antonio Rojas arojas at archlinux.org
Thu Mar 19 20:49:26 UTC 2020


    Date: Thursday, March 19, 2020 @ 20:49:24
  Author: arojas
Revision: 601177

Revert commit that causes crash in multithreaded code

Modified:
  singular/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-19 20:46:50 UTC (rev 601176)
+++ PKGBUILD	2020-03-19 20:49:24 UTC (rev 601177)
@@ -6,7 +6,7 @@
 _patchver=5
 pkgver=${_majver//-/.}.p${_patchver}
 #pkgver=${_majver//-/.}
-pkgrel=1
+pkgrel=2
 pkgdesc="Computer Algebra System for polynomial computations"
 arch=(x86_64)
 url="https://www.singular.uni-kl.de/"
@@ -14,11 +14,18 @@
 depends=(flint cddlib)
 makedepends=(doxygen polymake)
 optdepends=('polymake: Polymake module')
-source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz")
+source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz"
+         omfree-segfault.patch::"https://github.com/Singular/Sources/commit/014a3fc5.patch")
 #source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz")
-sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f')
+sha256sums=('743593fa17e0f87ff2ab61e87653e95c6c00a615e3a2e6fb1f0e43461473b89f'
+            '53ff434a06b5202abd5b6c4922e7c061867f607e6a268ff852462a8c6f42a742')
 options=(!zipman)
 
+prepare() {
+  cd singular-${_majver//-/.}
+  patch -Rp1 -i ../omfree-segfault.patch
+}
+
 build() {
   cd singular-${_majver//-/.}
   ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc



More information about the arch-commits mailing list