[arch-commits] Commit in sagemath/trunk (PKGBUILD sagemath-brial-1.2.patch)

Antonio Rojas arojas at archlinux.org
Tue Oct 24 09:38:10 UTC 2017


    Date: Tuesday, October 24, 2017 @ 09:38:09
  Author: arojas
Revision: 264091

brial 1.2.0 rebuild

Added:
  sagemath/trunk/sagemath-brial-1.2.patch
Modified:
  sagemath/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |    9 ++++++---
 sagemath-brial-1.2.patch |   14 ++++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-24 08:04:55 UTC (rev 264090)
+++ PKGBUILD	2017-10-24 09:38:09 UTC (rev 264091)
@@ -9,7 +9,7 @@
 pkgbase=sagemath
 pkgname=(sagemath sagemath-jupyter)
 pkgver=8.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
 arch=(i686 x86_64)
 url="http://www.sagemath.org"
@@ -37,7 +37,7 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/sagemath/sage/archive/$pkgver.tar.gz"
         env.patch package.patch latte-count.patch jupyter-path.patch sagemath-python3-notebook.patch test-optional.patch
         r-no-readline.patch fes02.patch sagemath-ecl-no-sigfpe.patch sagemath-cython-0.26.patch sagemath-threejs.patch
-        sagemath-pynac-0.7.11.patch sagemath-pynac-0.7.12.patch sagemath-detect-igraph.patch sagemath-networkx2.patch)
+        sagemath-pynac-0.7.11.patch sagemath-pynac-0.7.12.patch sagemath-detect-igraph.patch sagemath-networkx2.patch sagemath-brial-1.2.patch)
 sha256sums=('91df3e303add71616e24b38c04789f66d57ada7b1017e5369e850c42d5e8753d'
             'e0b5b8673300857fde823209a7e90faecf9e754ab812cc5e54297eddc0c79571'
             '4a2297e4d9d28f0b3a1f58e1b463e332affcb109eafde44837b1657e309c8212'
@@ -53,7 +53,8 @@
             '3e23ff449a5a3a032684287722455633762636b93ecfc35fb00e875c69eff240'
             '719bb39c9c2cd1c6e75be0969000ba5ffcd2875bb5190fce6bb6a6feaa76b96f'
             '90be1d1a90120bd5bd3620769480106ba809dd23e896bc4a3f8931e5340f3cda'
-            'a1a0ab5b794136b518f5f66fe9f1689411fabb3b81560b159eae81f6f69000e3')
+            'a1a0ab5b794136b518f5f66fe9f1689411fabb3b81560b159eae81f6f69000e3'
+            '64ee1930049a17a7295bb45513efc9d484299132900fc9b8e308a9fe1a2df149')
 
 prepare(){
   cd sage-$pkgver
@@ -82,6 +83,8 @@
   patch -p1 -i ../sagemath-networkx2.patch
 # fix three.js plotting backend
   patch -p1 -i ../sagemath-threejs.patch
+# fix build with brial 1.2
+  patch -p1 -i ../sagemath-brial-1.2.patch
 
 # Upstream patches  
 # fix build against libfes 0.2 http://trac.sagemath.org/ticket/15209

Added: sagemath-brial-1.2.patch
===================================================================
--- sagemath-brial-1.2.patch	                        (rev 0)
+++ sagemath-brial-1.2.patch	2017-10-24 09:38:09 UTC (rev 264091)
@@ -0,0 +1,14 @@
+--- sage-8.0/src/sage/libs/polybori/pb_wrap.h.0	2017-10-24 07:49:41.623327120 +0000
++++ sage-8.0/src/sage/libs/polybori/pb_wrap.h	2017-10-24 07:50:02.720034688 +0000
+@@ -178,9 +178,9 @@
+ 
+ template <class Type>
+ class PBWrappedPtr:
+-  public boost::shared_ptr<Type> {
++  public std::shared_ptr<Type> {
+     typedef PBWrappedPtr self;
+-    typedef boost::shared_ptr<Type> base;
++    typedef std::shared_ptr<Type> base;
+ 
+  public:
+     PBWrappedPtr(): base() {}



More information about the arch-commits mailing list