[arch-commits] Commit in giac/trunk (PKGBUILD giac-evalb.patch)
Antonio Rojas
arojas at archlinux.org
Sun May 2 19:31:28 UTC 2021
Date: Sunday, May 2, 2021 @ 19:31:28
Author: arojas
Revision: 926185
Fix evalb
Added:
giac/trunk/giac-evalb.patch
Modified:
giac/trunk/PKGBUILD
------------------+
PKGBUILD | 11 +++++++----
giac-evalb.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-02 18:43:13 UTC (rev 926184)
+++ PKGBUILD 2021-05-02 19:31:28 UTC (rev 926185)
@@ -4,7 +4,7 @@
pkgname=(xcas libgiac)
_pkgver=1.7.0-3
pkgver=${_pkgver//-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="A free computer algebra system"
arch=(x86_64)
url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
@@ -11,13 +11,16 @@
license=(GPL3)
makedepends=(python mpfi gsl pari ntl lapack libpng libjpeg fltk texlive-core texlive-science hevea glpk libao gmp-ecm nauty libsamplerate)
source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz
- giac-test-pari-2.11.patch)
+ giac-test-pari-2.11.patch
+ giac-evalb.patch)
sha256sums=('181fec9db622571bb568d5c254aeaab29fe5c6310a4f3af5a207e7392f9171f0'
- 'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624')
+ 'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624'
+ '1c20d955192183f2b248c327b2270369dea2961a80b5cdca09083228920c7a07')
prepare() {
cd $pkgbase-${pkgver%.*}
- patch -p1 -i ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
+ patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
+ patch -p1 < ../giac-evalb.patch # Fix evalb
}
build() {
Added: giac-evalb.patch
===================================================================
--- giac-evalb.patch (rev 0)
+++ giac-evalb.patch 2021-05-02 19:31:28 UTC (rev 926185)
@@ -0,0 +1,11 @@
+Index: trunk/geogebra/giac/src/giac/cpp/subst.cc
+===================================================================
+--- a/src/subst.cc
++++ b/src/subst.cc
+@@ -3277,4 +3277,6 @@
+ }
+ gen invfracpow(const gen & e,GIAC_CONTEXT){
++ if (e.is_symb_of_sommet(at_same))
++ return symbolic(at_same,makesequence(invfracpow(e._SYMBptr->feuille[0],contextptr),invfracpow(e._SYMBptr->feuille[1],contextptr)));
+ vector< gen_op_context > invfracpow_v(1,do_invfracpow);
+ vector<const unary_function_ptr *> inv_v(1,at_inv);
More information about the arch-commits
mailing list