summaryrefslogtreecommitdiff
path: root/sci-mathematics/giac/giac-1.9.0.21.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/giac/giac-1.9.0.21.ebuild')
-rw-r--r--sci-mathematics/giac/giac-1.9.0.21.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sci-mathematics/giac/giac-1.9.0.21.ebuild b/sci-mathematics/giac/giac-1.9.0.21.ebuild
index bf7ed2bdb24c..a079e6b8a510 100644
--- a/sci-mathematics/giac/giac-1.9.0.21.ebuild
+++ b/sci-mathematics/giac/giac-1.9.0.21.ebuild
@@ -49,6 +49,7 @@ BDEPEND="dev-tex/hevea
PATCHES=(
"${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"
"${FILESDIR}/${PN}-1.6.0-pari-2.11.patch"
+ "${FILESDIR}/${PN}-1.9.0.21-pari-2.15.patch"
)
REQUIRED_USE="test? ( gui )"
@@ -74,6 +75,11 @@ src_configure() {
# Get the big-L flags from fltk's LDFLAGS.
append-ldflags $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/')
+ else
+ # see https://trac.sagemath.org/ticket/31563#comment:91 onwards.
+ # Unless this variable is defined a non existent function will be requested.
+ # The spelling is correct - upstream is French.
+ append-cppflags -DUSE_OBJET_BIDON=1
fi
# Using libsamplerate is currently broken