- Add 0001-build-resolve-missing-includes-showing-on-gcc-13.patch
OBS-URL: https://build.opensuse.org/package/show/science/4ti2?expand=0&rev=22
This commit is contained in:
parent
2e4233f38e
commit
28f75db5a2
27
0001-build-resolve-missing-includes-showing-on-gcc-13.patch
Normal file
27
0001-build-resolve-missing-includes-showing-on-gcc-13.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From c024db44f43593fbfe9d8d51f035db7a605d1fa6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: Tue, 28 Mar 2023 00:33:03 +0200
|
||||||
|
Subject: [PATCH] build: resolve missing includes showing on gcc-13
|
||||||
|
References: https://github.com/4ti2/4ti2/pull/40
|
||||||
|
|
||||||
|
../../src/zsolve/VectorArrayAPI.hpp: In function 'void _4ti2_zsolve_::convert(const T1&, T2&) [with T1 = long int; T2 = int]':
|
||||||
|
../../src/zsolve/VectorArrayAPI.hpp:79:14: error: 'INT32_MIN' was not declared in this scope; did you mean 'INT_MIN'?
|
||||||
|
---
|
||||||
|
src/zsolve/VectorArrayAPI.hpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/zsolve/VectorArrayAPI.hpp b/src/zsolve/VectorArrayAPI.hpp
|
||||||
|
index a5cb948..cd2ae99 100644
|
||||||
|
--- a/src/zsolve/VectorArrayAPI.hpp
|
||||||
|
+++ b/src/zsolve/VectorArrayAPI.hpp
|
||||||
|
@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
#include "zsolve/VectorArray.hpp"
|
||||||
|
#include "zsolve/Exception.h"
|
||||||
|
#include <fstream>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
|
namespace _4ti2_zsolve_ {
|
||||||
|
--
|
||||||
|
2.40.0
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 27 22:35:21 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add 0001-build-resolve-missing-includes-showing-on-gcc-13.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 1 20:03:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Thu Jul 1 20:03:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package 4ti2
|
# spec file for package 4ti2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,6 +27,7 @@ URL: https://4ti2.github.io/
|
|||||||
Source: https://github.com/4ti2/4ti2/releases/download/Release_1_6_9/4ti2-1.6.9.tar.gz
|
Source: https://github.com/4ti2/4ti2/releases/download/Release_1_6_9/4ti2-1.6.9.tar.gz
|
||||||
Patch1: 4ti2-docdir.diff
|
Patch1: 4ti2-docdir.diff
|
||||||
Patch2: 4ti2-handle-prefix.patch
|
Patch2: 4ti2-handle-prefix.patch
|
||||||
|
Patch3: 0001-build-resolve-missing-includes-showing-on-gcc-13.patch
|
||||||
BuildRequires: autoconf >= 2.59
|
BuildRequires: autoconf >= 2.59
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user