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

Antonio Rojas arojas at gemini.archlinux.org
Tue Dec 14 17:56:38 UTC 2021


    Date: Tuesday, December 14, 2021 @ 17:56:37
  Author: arojas
Revision: 1072806

Fix API conflict with Givaro

Modified:
  singular/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-14 17:50:45 UTC (rev 1072805)
+++ PKGBUILD	2021-12-14 17:56:37 UTC (rev 1072806)
@@ -6,7 +6,7 @@
 _patchver=2
 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/'
@@ -15,11 +15,17 @@
 makedepends=(doxygen)
 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//-/.}.tar.gz)
-        doc-$pkgver.tbz2::ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/doc.tbz2)
+         doc-$pkgver.tbz2::ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/doc.tbz2
+         https://github.com/Singular/Singular/commit/18bb792e.patch)
 sha256sums=('b413d2bce7a887d61fef4b47c78bcaea0e8f3b5c0b1071a3252d63d0adfedce1'
-            '0e3860de6d39204cf623fa6486175f560e862002f433a93b9a1bda4acbac1d8e')
+            '0e3860de6d39204cf623fa6486175f560e862002f433a93b9a1bda4acbac1d8e'
+            '5430a7062ad361bf79e8e139a930bb8f05b358c8c9e9a371cc8ee3d9ec6b8063')
 options=(!zipman)
 
+prepare() {
+  patch -d singular-${_majver//-/.} -p1 < 18bb792e.patch # Fix API conflict with Givaro
+}
+
 build() {
   cd singular-${_majver//-/.}
   ./configure \



More information about the arch-commits mailing list