summaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_pari.cc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-09-27 20:19:19 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-27 19:25:36 -0700
commit3064601ea2fe9494101daaf46402335ee05ca21a (patch)
tree581c936eefcb6cdee82872bff40dc67241166fdd /math/giacxcas/files/patch-src_pari.cc
parentmisc/cuttlefish: Update 2.6.2 -> 2.7.0 (diff)
math/pari: Update 2.13.4 -> 2.15.0
Reported by: portscout
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;