summaryrefslogtreecommitdiff
path: root/sci-mathematics/giac/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-05 07:19:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-05 07:19:12 +0100
commit315f94518df5e89b0990f56d7200f52d67aeec51 (patch)
tree1ab85f2feb77b909d29795e602f9dbf0c5711bcd /sci-mathematics/giac/files
parent5b84ef1b7530528af1eda8310641c6396df8143c (diff)
gentoo auto-resync : 05:10:2022 - 07:19:11
Diffstat (limited to 'sci-mathematics/giac/files')
-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>