summaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_pari.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/giacxcas/files/patch-src_pari.cc')
-rw-r--r--math/giacxcas/files/patch-src_pari.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/giacxcas/files/patch-src_pari.cc b/math/giacxcas/files/patch-src_pari.cc
new file mode 100644
index 000000000000..bd3f15a4384c
--- /dev/null
+++ b/math/giacxcas/files/patch-src_pari.cc
@@ -0,0 +1,14 @@
+- workaroud of the removal of the ANYARG macro in pari-2.15.0
+
+--- src/pari.cc.orig 2022-03-16 11:38:05 UTC
++++ src/pari.cc
+@@ -44,6 +44,9 @@ using namespace std;
+ #include <pthread.h>
+ #endif
+
++// workaround for the removal of the ANYARG macro in pari-2.15.0
++#define ANYARG ...
++
+ static long int abs(long int & l){
+ if (l<0)
+ return -l;