summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Bissey <frp.bissey@gmail.com>2022-10-05 10:02:30 +1300
committerMichael Orlitzky <mjo@gentoo.org>2022-10-04 21:29:29 -0400
commit59eaf72f591d225643c4b497e1ad8d65f4f5e688 (patch)
tree991bfd0465a367516a81d35bee7b92a99ae4130a /sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch
parentgnome-base/gnome-control-center: Version bump to 43.0 (diff)
downloadgentoo-59eaf72f591d225643c4b497e1ad8d65f4f5e688.tar.gz
gentoo-59eaf72f591d225643c4b497e1ad8d65f4f5e688.tar.bz2
gentoo-59eaf72f591d225643c4b497e1ad8d65f4f5e688.zip
sci-mathematics/giac: pari 2.15 compat + -gui workaround
Closes: https://github.com/gentoo/gentoo/pull/27625 Closes: https://bugs.gentoo.org/875179 Signed-off-by: François Bissey <frp.bissey@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch')
-rw-r--r--sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch b/sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch
new file mode 100644
index 000000000000..c1df76ea7048
--- /dev/null
+++ b/sci-mathematics/giac/files/giac-1.9.0.21-pari-2.15.patch
@@ -0,0 +1,17 @@
+--- a/src/pari.cc
++++ b/src/pari.cc
+@@ -39,6 +39,14 @@ using namespace std;
+ #endif
+
+ #ifdef HAVE_LIBPARI
++#if !defined ANYARG
++// Anyarg disappeared from PARI 2.15.0
++#ifdef __cplusplus
++# define ANYARG ...
++#else
++# define ANYARG
++#endif
++#endif
+
+ #ifdef HAVE_PTHREAD_H
+ #include <pthread.h>