summaryrefslogtreecommitdiff
path: root/sci-mathematics/4ti2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-18 11:55:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-18 11:55:01 +0100
commit7288c6e5fa05acddbf692a5187d925ef85662b46 (patch)
tree54bfc06561e59d1ad1e6e7bdbd06b76fc4ba0d06 /sci-mathematics/4ti2
parent5a1fb66df455454109e1de61d38b48f509dc68b8 (diff)
gentoo auto-resync : 18:04:2023 - 11:55:01
Diffstat (limited to 'sci-mathematics/4ti2')
-rw-r--r--sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild7
-rw-r--r--sci-mathematics/4ti2/Manifest5
-rw-r--r--sci-mathematics/4ti2/files/4ti2-1.6.7-gcc13.patch21
-rw-r--r--sci-mathematics/4ti2/metadata.xml3
4 files changed, 32 insertions, 4 deletions
diff --git a/sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild b/sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild
index 887469dd15eb..fa3572550200 100644
--- a/sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild
+++ b/sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,10 @@ RDEPEND="
dev-libs/gmp:0=[cxx(+)]"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${PN}-1.3.2-gold.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.2-gold.patch
+ "${FILESDIR}"/${P}-gcc13.patch
+)
src_prepare() {
default
diff --git a/sci-mathematics/4ti2/Manifest b/sci-mathematics/4ti2/Manifest
index fd2d14eb710e..ddca2d793b34 100644
--- a/sci-mathematics/4ti2/Manifest
+++ b/sci-mathematics/4ti2/Manifest
@@ -1,4 +1,5 @@
AUX 4ti2-1.3.2-gold.patch 434 BLAKE2B 38162dea9fa7e7072966fc7c5fc72c05e2d122dbfbb25aa0027f992f0fe23bd1232245c670b8f3d3a2b75e67319a217aead99850ec6d1a025c6c4a890605b2c3 SHA512 109f89dcf1f66fae079d9ba4c265b0a9ad0a60b88848ae38175d98c51b8b8fce3e92b0f862191340f4a8dd8c60a768c77b1504d0a797553b5cd1fe5bc95189ff
+AUX 4ti2-1.6.7-gcc13.patch 895 BLAKE2B 2827da0a04f2871af174ffda828aca91141d18f379e30c27c10e3807b369b502ef7ebf781a4137e0c6651e5e7922912857bbf5cd3d24b12c1571828983ba3f63 SHA512 0de85310fd9680ed1f3adc5b4990283d4d6ee2ebf8a8c82e195ad323fcf1cbd16fa3727dc428f26b945edf660285332354a102c19eb37737beabbc5d9cfe9444
DIST 4ti2-1.6.7.tar.gz 5649869 BLAKE2B ab0e7da1de88e5e99ead0b8fa7f7a72773b84ae903a31dc3134e83364ea45069889f8ce9812bb471cf72b824fe013756d557489b4d2ab31216141d5b6347acfc SHA512 38d638fe01ff3cef1aebae1eefd276cf02f808978851b4465e132f77d3ab34ea51d512e2ea28a42ac65263b458c43cf420dc5f8ac930f959dd0c14916cef9841
-EBUILD 4ti2-1.6.7-r1.ebuild 848 BLAKE2B 8d3466fc4a7262c87fbd821c111f711d4f21687521248af36ab08197dae652ab769eb0357d6d4676ac63fa21d652d155547ebd6e5f4574d58f4cdc262575f100 SHA512 7df9c69b08237b5443ea5aa5df63c9b8cf3fdd7d66b9857795ed4362dee81ff7b5652223fa8169556fecb02bded2f13895172fcde6cf6b6f490ebf01e3c106eb
-MISC metadata.xml 453 BLAKE2B 58bea6d864bf3ddd897775ecc88f84bbca1969430d2acaf74b9c0b46302aab0ceaab0589c830619fdcdb361ab05ac92f1bb81bb194c714974a829b19bfc7b689 SHA512 846f842f018e575ff431fdd14bf3b76673edb74b2868044ac61b24f836cf14f3ca90302d22889fb7bbd7ef95c83bd8719a18134b894b5b762a274bf219bd7fa8
+EBUILD 4ti2-1.6.7-r1.ebuild 881 BLAKE2B bf0c9a708fe2bd389d3e8e5d7e8c0732914d3aeb495d5e4051753aa35a2bdee0b6de7b5796a332f30862c5228c7d447348d6316a8dc965d2cd625691fdb313d9 SHA512 923016a557780b6d208a1167ae1f73f18429d15bf3dcc1b284cf6187cd4a439ab4c3f11b65dbec154e087a5b93b2155b386d1c82b8f15cb578b5401edca660a0
+MISC metadata.xml 531 BLAKE2B b06d3faf7ccbde8dfc9012e3d4060a703639873b4ebbda9c2fb07ef1fd4e6ad6b97d09e7ed12d8adfd35492c2cdc93ae9290987129e7f0aa34d6b0df6f8513ae SHA512 3564979bae9192cadb2351ec2a401d71de987d78e320701676f8e356a3352b75e921dd807a33e4963687489cd4b9f1dab7112c7d631cb74fef39d3b66943970e
diff --git a/sci-mathematics/4ti2/files/4ti2-1.6.7-gcc13.patch b/sci-mathematics/4ti2/files/4ti2-1.6.7-gcc13.patch
new file mode 100644
index 000000000000..32f7c1a42b34
--- /dev/null
+++ b/sci-mathematics/4ti2/files/4ti2-1.6.7-gcc13.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/895420
+https://github.com/4ti2/4ti2/commit/c024db44f43593fbfe9d8d51f035db7a605d1fa6
+
+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
+
+../../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'?
+--- 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_ {
+
diff --git a/sci-mathematics/4ti2/metadata.xml b/sci-mathematics/4ti2/metadata.xml
index 94a9142e48c1..d9dd24cced11 100644
--- a/sci-mathematics/4ti2/metadata.xml
+++ b/sci-mathematics/4ti2/metadata.xml
@@ -9,4 +9,7 @@
4ti2 is a software package for algebraic, geometric and combinatorial problems
on linear spaces and for toric ideals too.
</longdescription>
+ <upstream>
+ <remote-id type="github">4ti2/4ti2</remote-id>
+ </upstream>
</pkgmetadata>