Date: Monday, May 7, 2018 @ 18:57:16 Author: arojas Revision: 319298 Revert commit that breaks sagemath
Modified: singular/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-05-07 18:53:45 UTC (rev 319297) +++ PKGBUILD 2018-05-07 18:57:16 UTC (rev 319298) @@ -7,7 +7,7 @@ _patchver=2 pkgver=${_majver//-/.}.p${_patchver} #pkgver=${_majver//-/.} -pkgrel=1 +pkgrel=2 pkgdesc="Computer Algebra System for polynomial computations" arch=(x86_64) url="http://www.singular.uni-kl.de/" @@ -15,11 +15,18 @@ depends=(flint cddlib) # polymake makedepends=(doxygen python2) optdepends=('python2: Python interface') -source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz") +source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz" + https://github.com/Singular/Sources/commit/4c1e7702.patch) #source=("http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz") -sha256sums=('8e1f67c0a940ae772231dc5f700ab2a1b08199be26d33323558fd08d629ea91f') +sha256sums=('8e1f67c0a940ae772231dc5f700ab2a1b08199be26d33323558fd08d629ea91f' + '7948ca7ed8be45043d7afcc85da1a5efcedc11f91a09bbe6d086d398c6aff742') options=(!zipman) +prepare() { + cd singular-${_majver//-/.} + patch -Rp1 -i ../4c1e7702.patch # Revert commit that causes regresions in sagemath https://trac.sagemath.org/ticket/24735 +} + build() { cd singular-${_majver//-/.} ./configure --prefix=/usr --libexecdir=/usr/lib