mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 03:17:15 -05:00
00ef6c18d5
* gnu/packages/algebra.scm (giac)[source]<origin>: Add a patch to fix build issue with Pari-GP 2.15. [arguments]<#:phase>: Skip another test. * gnu/packages/patches/giac-pari-gp-anyarg.patch: New file. * gnu/local.mk: Register it. This fixes <https://issues.guix.gnu.org/58274>.
28 lines
558 B
Diff
28 lines
558 B
Diff
From 041d16b521d8231e5b441015f08bb386f9d2a51c Mon Sep 17 00:00:00 2001
|
|
From: Vincent Delecroix <20100.delecroix@gmail.com*>
|
|
Date: Thu, 15 Sep 2022 12:11:01 +0200
|
|
Subject: ANYARG giac patch
|
|
|
|
---
|
|
diff --git a/src/pari.cc b/src/pari.cc
|
|
index 76ce8e1..50d08ab 100644
|
|
--- a/src/pari.cc
|
|
+++ b/src/pari.cc
|
|
@@ -40,6 +40,13 @@ using namespace std;
|
|
|
|
#ifdef HAVE_LIBPARI
|
|
|
|
+// Anyarg disappeared from PARI 2.15.0
|
|
+#ifdef __cplusplus
|
|
+# define ANYARG ...
|
|
+#else
|
|
+# define ANYARG
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_PTHREAD_H
|
|
#include <pthread.h>
|
|
#endif
|
|
|
|
--
|
|
cgit v1.0-1-gd88e
|
|
|