mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
giac: update to 1.9.0.7.
This commit is contained in:
parent
f82940a42f
commit
2557ef6ff0
3 changed files with 9 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
||||||
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
|
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
|
||||||
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
|
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
|
||||||
@@ -503,7 +503,7 @@
|
@@ -503,7 +503,7 @@
|
||||||
#if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
|
#if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used
|
||||||
inline float fgamma(float f1){ return f1; }
|
inline float fgamma(float f1){ return f1; }
|
||||||
#else
|
#else
|
||||||
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
|
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300
|
|
||||||
+++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300
|
|
||||||
@@ -1810,6 +1810,7 @@
|
|
||||||
cerr << "// Setting tex log" << '\n';
|
|
||||||
show_tex=true;
|
|
||||||
}
|
|
||||||
+#ifdef HAVE_LIBMICROPYTHON
|
|
||||||
if (getenv("GIAC_MICROPY")){
|
|
||||||
cerr << "Micropython mode\n";
|
|
||||||
python_compat(4 | python_compat(contextptr),contextptr);
|
|
||||||
@@ -1821,6 +1822,7 @@
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
#ifdef HAVE_LIBREADLINE
|
|
||||||
if (ARGC==1){
|
|
||||||
int taillemax=1000;
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'giac'
|
# Template file for 'giac'
|
||||||
pkgname=giac
|
pkgname=giac
|
||||||
version=1.7.0.53
|
version=1.9.0.7
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="giac-${version%.*}"
|
wrksrc="giac-${version%.*}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -14,11 +14,17 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
|
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
|
||||||
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
|
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
|
||||||
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
|
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
|
||||||
checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f
|
checksum=72016988b7180e9b630ecabecc60969213e7b61418c2598c91acbaec139fd740
|
||||||
|
|
||||||
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
|
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
|
||||||
LDFLAGS="-Wl,-z,stack-size=2097152"
|
LDFLAGS="-Wl,-z,stack-size=2097152"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# remove a binary that works only for x86_64 host
|
||||||
|
# the binary will be rebuilt using host compiler
|
||||||
|
rm src/mkjs
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove duplicates
|
# remove duplicates
|
||||||
rm -r ${DESTDIR}/usr/share/doc
|
rm -r ${DESTDIR}/usr/share/doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue