[arch-commits] Commit in linbox/trunk (PKGBUILD linbox-gcc8.patch)
Antonio Rojas
arojas at archlinux.org
Sun May 6 10:42:52 UTC 2018
Date: Sunday, May 6, 2018 @ 10:42:51
Author: arojas
Revision: 319010
Fix build with GCC 8
Added:
linbox/trunk/linbox-gcc8.patch
Modified:
linbox/trunk/PKGBUILD
-------------------+
PKGBUILD | 12 +++++++++---
linbox-gcc8.patch | 12 ++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-06 06:56:45 UTC (rev 319009)
+++ PKGBUILD 2018-05-06 10:42:51 UTC (rev 319010)
@@ -3,15 +3,21 @@
pkgname=linbox
pkgver=1.5.2
-pkgrel=4
+pkgrel=5
pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields"
arch=(x86_64)
url="http://linalg.org/"
license=(LGPL)
depends=(m4rie flint fplll iml fflas-ffpack tinyxml2)
-source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2')
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" linbox-gcc8.patch)
+sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2'
+ 'f0977ba881fae0c6a1d21e61367dbd7c2cc582362bab753398a731c80714bc66')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../linbox-gcc8.patch # Fix build with GCC 8
+}
+
build() {
cd $pkgname-$pkgver
Added: linbox-gcc8.patch
===================================================================
--- linbox-gcc8.patch (rev 0)
+++ linbox-gcc8.patch 2018-05-06 10:42:51 UTC (rev 319010)
@@ -0,0 +1,12 @@
+--- linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h.orig 2018-05-06 10:35:33.852181382 +0000
++++ linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h 2018-05-06 10:35:59.598847558 +0000
+@@ -67,9 +67,6 @@
+ /*! TransposedBlasMatrix.
+ * NO DOC
+ */
+-#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
+- template <>
+-#endif
+ template< class Matrix >
+ class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
+
More information about the arch-commits
mailing list