SHA256
1
0
forked from pool/linbox

- Add 0001-remove-unnecessary-double-template-fixing-gcc-8.1-co.patch from upstream.

OBS-URL: https://build.opensuse.org/package/show/science/linbox?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2018-06-23 08:59:02 +00:00 committed by Git OBS Bridge
parent 432e01e5d0
commit 460b9c76aa
3 changed files with 38 additions and 2 deletions

View File

@ -0,0 +1,28 @@
From 56be8673613fff87fb2329f71bceb0c793c00b82 Mon Sep 17 00:00:00 2001
From: Clement Pernet <clement.pernet@gmail.com>
Date: Fri, 18 May 2018 11:00:08 +0200
Subject: [PATCH] remove unnecessary double template, fixing gcc-8.1
compilation error, see
https://groups.google.com/forum/#!topic/sage-devel/NgzlZknrizg
---
linbox/matrix/densematrix/blas-transposed-matrix.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/linbox/matrix/densematrix/blas-transposed-matrix.h b/linbox/matrix/densematrix/blas-transposed-matrix.h
index b81e65972..d9c031434 100644
--- a/linbox/matrix/densematrix/blas-transposed-matrix.h
+++ b/linbox/matrix/densematrix/blas-transposed-matrix.h
@@ -67,9 +67,6 @@ namespace LinBox
/*! TransposedBlasMatrix.
* NO DOC
*/
-#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
- template <>
-#endif
template< class Matrix >
class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
--
2.17.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 23 08:58:41 UTC 2018 - jengelh@inai.de
- Add 0001-remove-unnecessary-double-template-fixing-gcc-8.1-co.patch
from upstream.
-------------------------------------------------------------------
Mon Dec 25 19:54:37 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package linbox
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,11 +21,12 @@ Name: linbox
Version: 1.5.2
Release: 0
Summary: C++ library for computation with matrices over ints and finite fields
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Productivity/Scientific/Math
Url: http://linalg.org/
Source: https://github.com/linbox-team/linbox/releases/download/v%version/linbox-%version.tar.gz
Patch1: 0001-remove-unnecessary-double-template-fixing-gcc-8.1-co.patch
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1.8
BuildRequires: gcc-c++
@ -69,6 +70,7 @@ developing against the Givaro library.
%prep
%setup -q
%patch -P 1 -p1
%build
autoreconf -fi