Accepting request 897731 from home:cgiboudeaux:branches:devel:libraries:c_c++
Add GCC 11 compatibility fix. Needed to fix the krita build. OBS-URL: https://build.opensuse.org/request/show/897731 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Vc?expand=0&rev=35
This commit is contained in:
parent
bfec58c33c
commit
454d6fa4c5
24
0001-Add-missing-include-to-simdarray.h-275.patch
Normal file
24
0001-Add-missing-include-to-simdarray.h-275.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From d259ff47fa62d8417663507f95c7014a51ade78f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Guilherme Amadio <amadio@cern.ch>
|
||||||
|
Date: Wed, 12 May 2021 17:13:56 +0200
|
||||||
|
Subject: [PATCH] Add missing include to simdarray.h (#275)
|
||||||
|
|
||||||
|
---
|
||||||
|
Vc/common/simdarray.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/Vc/common/simdarray.h b/Vc/common/simdarray.h
|
||||||
|
index 67d1c23..50f89cd 100644
|
||||||
|
--- a/Vc/common/simdarray.h
|
||||||
|
+++ b/Vc/common/simdarray.h
|
||||||
|
@@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
//#include "../IO"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
#include "writemaskedvector.h"
|
||||||
|
#include "simdarrayhelper.h"
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 5 17:12:32 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Add GCC 11 compatibility fix:
|
||||||
|
* 0001-Add-missing-include-to-simdarray.h-275.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 13 07:10:56 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
Wed May 13 07:10:56 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
6
Vc.spec
6
Vc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package Vc
|
# spec file for package Vc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2018 Asterios Dramis <asterios.dramis@gmail.com>.
|
# Copyright (c) 2018 Asterios Dramis <asterios.dramis@gmail.com>.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -25,6 +25,8 @@ License: BSD-3-Clause
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: https://github.com/VcDevel/Vc/
|
URL: https://github.com/VcDevel/Vc/
|
||||||
Source0: https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM
|
||||||
|
Patch0: 0001-Add-missing-include-to-simdarray.h-275.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -74,7 +76,7 @@ sets.
|
|||||||
This package provides the Vc static library.
|
This package provides the Vc static library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
|
Loading…
x
Reference in New Issue
Block a user