SHA256
1
0
forked from pool/4ti2

Accepting request 1082911 from science

- Update to release 1.6.10

OBS-URL: https://build.opensuse.org/request/show/1082911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/4ti2?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-04-26 15:26:20 +00:00 committed by Git OBS Bridge
commit c3d39a3717
6 changed files with 13 additions and 59 deletions

View File

@ -1,27 +0,0 @@
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

3
4ti2-1.6.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7c191beb14246b643e4fd5b18b53d9966693b9e6d3a569441a0e3ca14b1a86b
size 5496480

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3053e7467b5585ad852f6a56e78e28352653943e7249ad5e5174d4744d174966
size 5634406

View File

@ -1,21 +0,0 @@
From 0ec32ea7cc2f9947ede1c87d079f6f34c221cb45 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 5 Feb 2014 00:33:39 +0100
Subject: [PATCH] build: stop misplacing documentation
docdir must not be statically set as it would override what the
user gave to ./configure --docdir=...
---
doc/Makefile.am | 2 --
1 file changed, 2 deletions(-)
Index: 4ti2-1.6.9/doc/Makefile.am
===================================================================
--- 4ti2-1.6.9.orig/doc/Makefile.am
+++ 4ti2-1.6.9/doc/Makefile.am
@@ -1,5 +1,3 @@
-docdir = $(pkgdatadir)/doc
-
doc_DATA = 4ti2_manual.pdf
## Manual sources.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 26 08:33:12 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.6.10
* Fix memory leak in permuteListVector
- Delete 0001-build-resolve-missing-includes-showing-on-gcc-13.patch,
4ti2-docdir.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 27 22:35:21 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Mon Mar 27 22:35:21 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,24 +17,19 @@
Name: 4ti2 Name: 4ti2
Version: 1.6.9 Version: 1.6.10
Release: 0 Release: 0
Summary: Package for algebraic, geometric and combinatorial problems on linear spaces Summary: Package for algebraic, geometric and combinatorial problems on linear spaces
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
URL: https://4ti2.github.io/ 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_10/4ti2-1.6.10.tar.gz
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: automake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ >= 4.3 BuildRequires: gcc-c++ >= 4.3
BuildRequires: glpk-devel >= 4.52 BuildRequires: glpk-devel >= 4.52
BuildRequires: gmp-devel >= 4.1.4 BuildRequires: gmp-devel >= 4.1.4
BuildRequires: libtool
%description %description
4ti2 is a collection of programs that compute and solve algebraic, 4ti2 is a collection of programs that compute and solve algebraic,
@ -73,7 +68,6 @@ developing against 4ti2's libraries.
%autosetup -p1 %autosetup -p1
%build %build
autoreconf -fi
%configure --enable-shared --disable-static \ %configure --enable-shared --disable-static \
--includedir="%_includedir/%name" --docdir="%_docdir/%name" --includedir="%_includedir/%name" --docdir="%_docdir/%name"
%make_build %make_build