Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
symengine


Commits:
daad37d7 by Antonio Rojas at 2023-11-15T14:04:35+01:00
upgpkg: 0.11.1-3: Fix arb.h path in public headers (FS#80206)

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- flint-3.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = symengine
        pkgdesc = Fast symbolic manipulation library, written in C++
        pkgver = 0.11.1
-       pkgrel = 2
+       pkgrel = 3
        url = http://sympy.org/
        arch = x86_64
        license = MIT
@@ -24,6 +24,6 @@ pkgbase = symengine
        source = flint-3.patch
        sha256sums = 
217b39955dc19f920c6f54c057fdc89e8e155ddee8f0e3c3cacc67b3e3850b64
        sha256sums = 
ef05a806139b35e0336f00cb6960ef6cf483f11b0041e436a99ab1f46bdcb11c
-       sha256sums = 
97533a142635f3e8836d528f8e6a123197a03b0ca30082c061ce8a50a9641827
+       sha256sums = 
ccd5475333e970eb911461041f2112ab8da949c30eeafdb300124cf788a7e5e0
 
 pkgname = symengine


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=symengine
 pkgver=0.11.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Fast symbolic manipulation library, written in C++'
 url='http://sympy.org/'
 arch=(x86_64)
@@ -27,7 +27,7 @@ 
source=(https://github.com/symengine/symengine/releases/download/v$pkgver/$pkgna
         flint-3.patch)
 sha256sums=('217b39955dc19f920c6f54c057fdc89e8e155ddee8f0e3c3cacc67b3e3850b64'
             'ef05a806139b35e0336f00cb6960ef6cf483f11b0041e436a99ab1f46bdcb11c'
-            '97533a142635f3e8836d528f8e6a123197a03b0ca30082c061ce8a50a9641827')
+            'ccd5475333e970eb911461041f2112ab8da949c30eeafdb300124cf788a7e5e0')
 
 prepare() {
   patch -d $pkgname-$pkgver -p1 < llvm-shared.patch # Use shared LLVM (Gentoo)


=====================================
flint-3.patch
=====================================
@@ -16,14 +16,16 @@ diff --git a/symengine/eval_arb.h b/symengine/eval_arb.h
 index 8d6f00c1..e162a9ff 100644
 --- a/symengine/eval_arb.h
 +++ b/symengine/eval_arb.h
-@@ -11,6 +11,7 @@
+@@ -11,7 +11,8 @@
  
  #ifdef HAVE_SYMENGINE_ARB
  #include <symengine/basic.h>
+-#include <arb.h>
 +#include <mpfr.h>
- #include <arb.h>
++#include <flint/arb.h>
  
  namespace SymEngine
+ {
 diff --git a/symengine/flint_wrapper.h b/symengine/flint_wrapper.h
 index 21cfcef0..edf07e22 100644
 --- a/symengine/flint_wrapper.h
@@ -61,9 +63,14 @@ diff --git a/symengine/ntheory.cpp b/symengine/ntheory.cpp
 index 6108bf2c..7c6d08a1 100644
 --- a/symengine/ntheory.cpp
 +++ b/symengine/ntheory.cpp
-@@ -17,6 +17,7 @@
- #include "arb.h"
- #include "bernoulli.h"
+@@ -14,9 +14,10 @@
+ #include <primesieve.hpp>
+ #endif // HAVE_SYMENGINE_PRIMESIEVE
+ #ifdef HAVE_SYMENGINE_ARB
+-#include "arb.h"
+-#include "bernoulli.h"
++#include <flint/arb.h>
++#include <flint/bernoulli.h>
  #include "rational.h"
 +#include <flint/fmpq.h>
  #endif // HAVE_SYMENGINE_ARB
@@ -80,3 +87,16 @@ index df9bb61f..0eecf647 100644
 -}
 \ No newline at end of file
 +}
+diff --git a/symengine/utilities/catch/catch.cpp 
b/symengine/utilities/catch/catch.cpp
+index 7291ac5..d0db607 100644
+--- a/symengine/utilities/catch/catch.cpp
++++ b/symengine/utilities/catch/catch.cpp
+@@ -13,7 +13,7 @@
+ #endif // HAVE_SYMENGINE_MPFR
+ 
+ #if defined(HAVE_SYMENGINE_ARB)
+-#include <arb.h>
++#include <flint/arb.h>
+ #endif // HAVE_SYMENGINE_ARB
+ 
+ using SymEngine::print_stack_on_segfault;



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/symengine/-/commit/daad37d799ff66246506fdd338776381c9383398

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/symengine/-/commit/daad37d799ff66246506fdd338776381c9383398
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to