[arch-commits] Commit in giac/trunk (PKGBUILD giac-pari-thread.patch)
Antonio Rojas
arojas at archlinux.org
Tue Jan 3 17:46:42 UTC 2017
Date: Tuesday, January 3, 2017 @ 17:46:41
Author: arojas
Revision: 204820
Fix pari dependency, add patch
Added:
giac/trunk/giac-pari-thread.patch
Modified:
giac/trunk/PKGBUILD
------------------------+
PKGBUILD | 2 +-
giac-pari-thread.patch | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-03 17:33:16 UTC (rev 204819)
+++ PKGBUILD 2017-01-03 17:46:41 UTC (rev 204820)
@@ -42,7 +42,7 @@
package_libgiac() {
pkgdesc="Giac shared library"
- depends=(mpfi gsl pari ntl lapack libpng)
+ depends=(mpfi gsl pari-sage ntl lapack libpng)
cd $pkgbase-${pkgver%.*}
make DESTDIR="$pkgdir" install
Added: giac-pari-thread.patch
===================================================================
--- giac-pari-thread.patch (rev 0)
+++ giac-pari-thread.patch 2017-01-03 17:46:41 UTC (rev 204820)
@@ -0,0 +1,11 @@
+--- giac-1.2.2/src/pari.cc.orig 2016-12-21 22:36:08.403918549 +0000
++++ giac-1.2.2/src/pari.cc 2016-12-21 22:36:30.450537200 +0000
+@@ -53,7 +53,7 @@
+ extern "C" {
+ #include <pari/pari.h>
+ #include <pari/paripriv.h>
+- extern void *PARI_stack_limit;
++ extern THREAD void *PARI_stack_limit;
+ extern entree functions_basic[];
+ }
+ #if PARI_VERSION_CODE<PARI_VERSION(2,4,0) // 132096
More information about the arch-commits
mailing list