summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin18523 -> 18533 bytes
-rw-r--r--sci-mathematics/cryptominisat/Manifest6
-rw-r--r--sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild2
-rw-r--r--sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild43
-rw-r--r--sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch11
-rw-r--r--sci-mathematics/cryptominisat/files/cryptominisat-5.8.0-setup.py.in-sysconfig.patch23
-rw-r--r--sci-mathematics/lean/Manifest9
-rw-r--r--sci-mathematics/lean/files/lean-3.50.3-gcc-13.patch10
-rw-r--r--sci-mathematics/lean/lean-3.50.1.ebuild77
-rw-r--r--sci-mathematics/lean/lean-3.50.2.ebuild77
-rw-r--r--sci-mathematics/lean/lean-3.50.3.ebuild11
-rw-r--r--sci-mathematics/lean/lean-3.9999.ebuild13
12 files changed, 43 insertions, 239 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 69ba9f0a6a08..320b2c62fa0a 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/cryptominisat/Manifest b/sci-mathematics/cryptominisat/Manifest
index d212fca7abcc..1c891c16441c 100644
--- a/sci-mathematics/cryptominisat/Manifest
+++ b/sci-mathematics/cryptominisat/Manifest
@@ -1,6 +1,4 @@
-AUX cryptominisat-5.8.0-setup.py.in-sysconfig.patch 678 BLAKE2B b42dd9ebed8076e8c46ddf92107bdd776d078c0869a824b87c27876c49818ca96b1455912c3af3957c507b59fadb5ecbdedbd94404a87f4672295553d40ce612 SHA512 9836faddf2d502af08a15a08611dfcd1e476d4155fe6a6a9a68b4d6ff851fa7dd485e0c08ba23920cda43f8fc72e5ec9f05fce816b7b0ead65144daa38490601
+AUX cryptominisat-5.11.4-gcc-13.patch 216 BLAKE2B eac9f21b7e1e4049c27fdf4dcb19ec7aa1a7c0da5839cbb4bb54c20a00c41be0a101f280ba1a881d2529e7c36fe27abb94ea3b4e600d8212ec011abcbcd2fee6 SHA512 b13ea41b6a3a22ed6a171689a40ca4f9bae242f6013d334952776ff66517916960df4a962b55a5e1deab61de8e8a3c973d3c02c2b5e53aac1405a101c5b9e71b
DIST cryptominisat-5.11.4.tar.gz 1044845 BLAKE2B b6df4e61c5f37d24a61a5c782f08f223c413e19fc2b1625718f7d19d4df8f4d955a92ae447f6c98889927ddc7407b4790092086996a0a32879c7dcb614ca1024 SHA512 8593848c468a6b1ac3d9ae343384aa323fb6ddc17802c9b184c178b9a41314c463b1c5f02ffd19d6e844894c7998e41d6e9b808ed70dcc235aa595607f52bc76
-DIST cryptominisat-5.8.0.tar.gz 943785 BLAKE2B 534af88a8432c7e3da63989cad8fd5e1491bd69a80b44977fa681e0356e857a505a82dc860b0d04d07987e3edae2861da67ec9dd781261e03a1120dc342b9759 SHA512 3eb954f01524b189a8de57a05f6060471a083addc4b9077c1e32b769d26393ce3d33468819ba8169deedce43fc3663b0ad8bbad95c6afe5e562e438c57b75496
-EBUILD cryptominisat-5.11.4.ebuild 759 BLAKE2B 90fd6e94487a8da7e2ee691e9634ea4e846aa9bcb7592e91360044955a1e6cb4bfbcbe572f03e7a46f9b4217b303bc34e07e848a4930e360511f6af4b59b4043 SHA512 bf223f972b8835465c9781ec04597f02db3675bf80e10c558e3d0925289d5471c5f87e9e857db152a001898bcc160bef9993faccc52464318adff68bd5c2c974
-EBUILD cryptominisat-5.8.0.ebuild 978 BLAKE2B a412c31536b1c00c949b87f090d7bdc35d7895bc289b09751a81b51fac89488c96080e37d3868d2c2d152962cd5b6a51d89489b6533be2cb60a566cf74860599 SHA512 4f7c2a0501ba66c45198dc671bbea9a3b9814f51b8e1fc1fc5808bd1111b9feff0ae6fab79f324ea4c4ba0042a1c680308e4f0df2b03c89894f431c789041987
+EBUILD cryptominisat-5.11.4.ebuild 812 BLAKE2B 772e5bf7985032fa53ecf5e40e9874535baaac95dbecbc3a5435c2a3f2af85d8ceb83979ff20d6a18a6b05eec525365c74f477edec7cf8a2f4d0dd3e34a70957 SHA512 d05b7762282bd018411a19acef297d876f2e0e57813d7747bfb294881844ffec57695a69f025dcf951a2255d95bf94e6ec9a436b19df0a51ce28d0105c38cf0c
MISC metadata.xml 858 BLAKE2B 4543d51cedd7b5e5e8508c14dfae420360f9d76ada1b969d855ca2b17b2c967036b29a9f2769a2c78e736c1e449e2b079558cd7460a72d402e9f1ce029ba414a SHA512 e1b39d888ab6c09f8707a164c7f683831a908477b2c7f219f4c9f71161ba84c145836ca2b1665e200f15a6e2ff6ca6318bd16fc40d57ad9c64bd1a4e229fbabc
diff --git a/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild b/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
index a4f699cc2afd..6ff76af75ca2 100644
--- a/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
+++ b/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
@@ -21,6 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${PN}-5.11.4-gcc-13.patch )
+
src_configure() {
local -a mycmakeargs=(
-DNOBREAKID=ON
diff --git a/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild b/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild
deleted file mode 100644
index 75dfa7819853..000000000000
--- a/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9,10} )
-
-inherit python-single-r1 cmake
-
-DESCRIPTION="Advanced SAT solver with C++ and Python interfaces"
-HOMEPAGE="https://github.com/msoos/cryptominisat/"
-SRC_URI="https://github.com/msoos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2 MIT"
-IUSE="+python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="test" # tests require many convoluted bundled (git) modules
-
-RDEPEND="
- dev-libs/boost:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-setup.py.in-sysconfig.patch )
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -DNOBREAKID=ON
- -DNOM4RI=ON
- -DENABLE_PYTHON_INTERFACE=$(usex python)
- -DFORCE_PYTHON3=$(usex python)
- -DENABLE_TESTING=OFF
- )
- cmake_src_configure
-}
diff --git a/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch b/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch
new file mode 100644
index 000000000000..e9c7fade75fe
--- /dev/null
+++ b/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch
@@ -0,0 +1,11 @@
+index 0cf7910..54cb45e 100644
+--- a/src/ccnr.h
++++ b/src/ccnr.h
+@@ -23,6 +23,7 @@ THE SOFTWARE.
+ #ifndef CCNR_H
+ #define CCNR_H
+
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ #include "ccnr_mersenne.h"
diff --git a/sci-mathematics/cryptominisat/files/cryptominisat-5.8.0-setup.py.in-sysconfig.patch b/sci-mathematics/cryptominisat/files/cryptominisat-5.8.0-setup.py.in-sysconfig.patch
deleted file mode 100644
index 5280f27bbd8f..000000000000
--- a/sci-mathematics/cryptominisat/files/cryptominisat-5.8.0-setup.py.in-sysconfig.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-index b3ab64af4..293eb1f80 100644
---- a/python/setup.py.in
-+++ b/python/setup.py.in
-@@ -27,7 +27,7 @@ import sys
- import os
- import platform
- from distutils.core import setup, Extension
--from distutils import sysconfig
-+import sysconfig
- from distutils.cmd import Command
-
- __PACKAGE_VERSION__ = "0.2.0"
-@@ -59,8 +59,8 @@ def _init_posix(init):
- Forces g++ instead of gcc on most systems
- credits to eric jones (eric@enthought.com) (found at Google Groups)
- """
-- def wrapper():
-- init()
-+ def wrapper(vars):
-+ init(vars)
-
- config_vars = sysconfig.get_config_vars() # by reference
- if config_vars["MACHDEP"].startswith("sun"):
diff --git a/sci-mathematics/lean/Manifest b/sci-mathematics/lean/Manifest
index ad3ad9bdf78f..6f5274d967b5 100644
--- a/sci-mathematics/lean/Manifest
+++ b/sci-mathematics/lean/Manifest
@@ -1,11 +1,8 @@
+AUX lean-3.50.3-gcc-13.patch 263 BLAKE2B cf589616f4612319bbe1d21e798787a72da3d0f319cef3ef0042b8baa89d87066867311fd804862d43599a262c64e2b747a6c21415bb69137a3e8e59dd332155 SHA512 013fe4ec983c8ca612621319fad5fe66e081516979e4dace71f24ec72cac8d7fe2a021e701b2bcae1e87209783330c02b799cdb6c1274f7f8d3dc51efaf130b6
AUX lean-CMakeLists-fix_flags.patch 1285 BLAKE2B 0507e553c1acf2a53c5267932127117d5ae5ba9015a08c88748b3d82c041f8d904d15cd033dd7934ac55c474fa75a5d4a46f680cc887fee37c05c3f5f3832839 SHA512 11a5918847e45aac7bf79e48d8f881ef5cd3e6b09dbb0979f3f0b88fd36458be21ebeb530158da801399a0cdc8fe382444ff338cd793cd9f1bfced90c5d5a71b
DIST lean-3.49.0.tar.gz 1918154 BLAKE2B 9f9973d00d2d5d5b7d26d50117c27754feb5132e88decd55859432a384dac2897184dcf8d841ad0034854657ac25e462dc69cdbe1cf2040787d108bb7e1370f4 SHA512 b4672843c2e923da8d56b91c14966fc2ec66c573564d68db9c52f9b40f2c97d82497f2ef6424b023c4ae50f6f0c11674e2d79053844ea669d226d0fe24077ade
-DIST lean-3.50.1.tar.gz 1918323 BLAKE2B 3a26a6481a8472941a928a7b33b24231239e553cd4a4af5671f6a05f1fa68a54657518c4775b641239aa55401100e44c2797d7ae572405225657f1f7da8e193c SHA512 df2e5915e8a7f7e278e2d3472afe6cc23fec5de808b0cc1b20365ad41cfd03b1efda80523059a96c6b3d9b8b0ccab311700ee6a5d6c9751454ebe3b2f168cf77
-DIST lean-3.50.2.tar.gz 1918353 BLAKE2B 2a8c41eef0cc3c2d3e1b45ccd2383279a1a91c0de772c5fe3f1ffafc808db4b6e7342f2f72bd4c4120ed4248d60359c6e331f4adc1d26c6328b284549861c4de SHA512 58d085deb0354db0067e86e6097dad7f1543f356d4e50607b8cc049a19d867aa7ea03553bab3799c6ad18d0ef4fa468b0f966512d8bf0076526f90e93195a407
DIST lean-3.50.3.tar.gz 1918462 BLAKE2B f8cb3857989e4966c12a9b4f4a13403ceab0ae9d33ddf81970ef886fb1f46bfd14bfc15aea498ea360cc801224c60489f0ce3b33fe10bead4dcbf3f6a06eee93 SHA512 849b9e8854585ce119f87e8bea655bcb834f1f986bccbf5ffa148fd4a1aae2030b6be938adbf377f0076361a3d9338802e1af8965f01b9c4d2a0517be330beef
EBUILD lean-3.49.0.ebuild 1767 BLAKE2B 8b4c2d7aea54b4e93e2f284bf78129fd47ee1d4de6bd2e867151c2e8e3d52c1cf52d1323cd03107c0a30555b94284347a94aa859918e135db9e86fc6559f2352 SHA512 270450c4cb4f7ff4cf8e4f6e4432551d6ba92ba44c86a97797488f471f0c5882afc0f33985bed59a529a7f134e963a5bd10836cb7fff6ba0910f6f831821a75a
-EBUILD lean-3.50.1.ebuild 1768 BLAKE2B 79dc1a54bd55667913f1dba0204ea845e3ae707f4dfdcbd7c8274d3fe00db9292228975dddfadcac6f068d65b49f076ac47480a3a394f294c40b7174c81b2b40 SHA512 28c85c3af753322f828f05ae20e14a8545a4ef5913572c8c998a4699a7fb3d7092b7bc5f9d2b045f8550b20b6c0ba967c9e9944753ff775a827c15b11c8e2198
-EBUILD lean-3.50.2.ebuild 1768 BLAKE2B 79dc1a54bd55667913f1dba0204ea845e3ae707f4dfdcbd7c8274d3fe00db9292228975dddfadcac6f068d65b49f076ac47480a3a394f294c40b7174c81b2b40 SHA512 28c85c3af753322f828f05ae20e14a8545a4ef5913572c8c998a4699a7fb3d7092b7bc5f9d2b045f8550b20b6c0ba967c9e9944753ff775a827c15b11c8e2198
-EBUILD lean-3.50.3.ebuild 1768 BLAKE2B 79dc1a54bd55667913f1dba0204ea845e3ae707f4dfdcbd7c8274d3fe00db9292228975dddfadcac6f068d65b49f076ac47480a3a394f294c40b7174c81b2b40 SHA512 28c85c3af753322f828f05ae20e14a8545a4ef5913572c8c998a4699a7fb3d7092b7bc5f9d2b045f8550b20b6c0ba967c9e9944753ff775a827c15b11c8e2198
-EBUILD lean-3.9999.ebuild 1767 BLAKE2B 39700411a69b0ac91dbb14ef4c12979ca94c6529b7c085bb04b29b667d7852983fcc90519748a506b547141a53a88de196bc693e2c40cc12ea438a383b302728 SHA512 6075af9174d9487b82557cdf4641848fc98de380e77f47308649eb3fac0c32193a92c47223a7146f3ccdc6db1b4d4e1987dd560b44081dfdda3c00c69fd10026
+EBUILD lean-3.50.3.ebuild 1816 BLAKE2B f3d86e33359cb09f3d671218ddbf41a17a360f09bdf1af55e721357b043f337106897628b31a159b791cdfb7afcaf56aff065be16260669529c3b9376643927c SHA512 87d6e40d19b301555f281e330118ff2312abf5e8bbc260b89219e75287c34017a697521e7962e6df914155bc5b84606b32eeec1a53a57413661f5eefc186155e
+EBUILD lean-3.9999.ebuild 1816 BLAKE2B f3d86e33359cb09f3d671218ddbf41a17a360f09bdf1af55e721357b043f337106897628b31a159b791cdfb7afcaf56aff065be16260669529c3b9376643927c SHA512 87d6e40d19b301555f281e330118ff2312abf5e8bbc260b89219e75287c34017a697521e7962e6df914155bc5b84606b32eeec1a53a57413661f5eefc186155e
MISC metadata.xml 606 BLAKE2B 6478d84a762a59082fdea0a11a95b27c093782228c48dba58dc490ea9ac2cecef54cc3101dc98e385f3a29f85d84af21b7d2ae1a9f089ee0313158ecb44eb0e7 SHA512 02d2ac07b155c7a04c857d397d476a39864d02b10dd81c5830db5e21eb86c6dcff26da552a04717f5f587b326ddf8e2e8d27f1a138f88b391f0199d8004d8cb7
diff --git a/sci-mathematics/lean/files/lean-3.50.3-gcc-13.patch b/sci-mathematics/lean/files/lean-3.50.3-gcc-13.patch
new file mode 100644
index 000000000000..273dd5161080
--- /dev/null
+++ b/sci-mathematics/lean/files/lean-3.50.3-gcc-13.patch
@@ -0,0 +1,10 @@
+--- a/shell/lean_js_main.cpp
++++ b/shell/lean_js_main.cpp
+@@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
+
+ Author: Leonardo de Moura
+ */
++#include <cstdint>
+ #include <iostream>
+ #include <string>
+ #include "shell/lean_js.h"
diff --git a/sci-mathematics/lean/lean-3.50.1.ebuild b/sci-mathematics/lean/lean-3.50.1.ebuild
deleted file mode 100644
index e008b81cf582..000000000000
--- a/sci-mathematics/lean/lean-3.50.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CMAKE_IN_SOURCE_BUILD="ON"
-
-inherit flag-o-matic cmake readme.gentoo-r1
-
-DESCRIPTION="The Lean Theorem Prover"
-HOMEPAGE="https://leanprover-community.github.io/"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
-else
- SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-S="${S}/src"
-
-LICENSE="Apache-2.0"
-SLOT="0/${MAJOR}"
-IUSE="debug +threads"
-
-RDEPEND="dev-libs/gmp:="
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
-
-src_configure() {
- local CMAKE_BUILD_TYPE
- if use debug; then
- CMAKE_BUILD_TYPE="Debug"
- else
- CMAKE_BUILD_TYPE="Release"
- fi
-
- filter-lto
-
- local mycmakeargs=(
- -DALPHA=ON
- -DAUTO_THREAD_FINALIZATION=ON
- -DJSON=ON # bug 833900
- -DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
- -DMULTI_THREAD=$(usex threads)
- -DUSE_GITHASH=OFF
- )
- cmake_src_configure
-}
-
-src_test() {
- local myctestargs=(
- # Disable problematic "style_check" cpplint test,
- # this also removes the python test dependency
- --exclude-regex style_check
- )
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- local DISABLE_AUTOFORMATTING="yes"
- local DOC_CONTENTS="You probably want to use lean with mathlib, you can either:
- - Do not install mathlib globally and use local versions
- - Use leanproject from sci-mathematics/mathlib-tools
- $ leanproject global-install
- - Use leanpkg and compile mathlib (which will take some time)
- $ leanpkg install https://github.com/leanprover-community/mathlib"
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sci-mathematics/lean/lean-3.50.2.ebuild b/sci-mathematics/lean/lean-3.50.2.ebuild
deleted file mode 100644
index e008b81cf582..000000000000
--- a/sci-mathematics/lean/lean-3.50.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CMAKE_IN_SOURCE_BUILD="ON"
-
-inherit flag-o-matic cmake readme.gentoo-r1
-
-DESCRIPTION="The Lean Theorem Prover"
-HOMEPAGE="https://leanprover-community.github.io/"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
-else
- SRC_URI="https://github.com/leanprover-community/lean/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-S="${S}/src"
-
-LICENSE="Apache-2.0"
-SLOT="0/${MAJOR}"
-IUSE="debug +threads"
-
-RDEPEND="dev-libs/gmp:="
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
-
-src_configure() {
- local CMAKE_BUILD_TYPE
- if use debug; then
- CMAKE_BUILD_TYPE="Debug"
- else
- CMAKE_BUILD_TYPE="Release"
- fi
-
- filter-lto
-
- local mycmakeargs=(
- -DALPHA=ON
- -DAUTO_THREAD_FINALIZATION=ON
- -DJSON=ON # bug 833900
- -DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
- -DMULTI_THREAD=$(usex threads)
- -DUSE_GITHASH=OFF
- )
- cmake_src_configure
-}
-
-src_test() {
- local myctestargs=(
- # Disable problematic "style_check" cpplint test,
- # this also removes the python test dependency
- --exclude-regex style_check
- )
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- local DISABLE_AUTOFORMATTING="yes"
- local DOC_CONTENTS="You probably want to use lean with mathlib, you can either:
- - Do not install mathlib globally and use local versions
- - Use leanproject from sci-mathematics/mathlib-tools
- $ leanproject global-install
- - Use leanpkg and compile mathlib (which will take some time)
- $ leanpkg install https://github.com/leanprover-community/mathlib"
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sci-mathematics/lean/lean-3.50.3.ebuild b/sci-mathematics/lean/lean-3.50.3.ebuild
index e008b81cf582..72a23985077c 100644
--- a/sci-mathematics/lean/lean-3.50.3.ebuild
+++ b/sci-mathematics/lean/lean-3.50.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,7 +27,10 @@ IUSE="debug +threads"
RDEPEND="dev-libs/gmp:="
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.50.3-gcc-13.patch
+ "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch
+)
src_configure() {
local CMAKE_BUILD_TYPE
@@ -39,7 +42,7 @@ src_configure() {
filter-lto
- local mycmakeargs=(
+ local -a mycmakeargs=(
-DALPHA=ON
-DAUTO_THREAD_FINALIZATION=ON
-DJSON=ON # bug 833900
@@ -51,7 +54,7 @@ src_configure() {
}
src_test() {
- local myctestargs=(
+ local -a myctestargs=(
# Disable problematic "style_check" cpplint test,
# this also removes the python test dependency
--exclude-regex style_check
diff --git a/sci-mathematics/lean/lean-3.9999.ebuild b/sci-mathematics/lean/lean-3.9999.ebuild
index 307c5b95bc1b..72a23985077c 100644
--- a/sci-mathematics/lean/lean-3.9999.ebuild
+++ b/sci-mathematics/lean/lean-3.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ inherit flag-o-matic cmake readme.gentoo-r1
DESCRIPTION="The Lean Theorem Prover"
HOMEPAGE="https://leanprover-community.github.io/"
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/leanprover-community/lean.git"
else
@@ -27,7 +27,10 @@ IUSE="debug +threads"
RDEPEND="dev-libs/gmp:="
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.50.3-gcc-13.patch
+ "${FILESDIR}"/${PN}-CMakeLists-fix_flags.patch
+)
src_configure() {
local CMAKE_BUILD_TYPE
@@ -39,7 +42,7 @@ src_configure() {
filter-lto
- local mycmakeargs=(
+ local -a mycmakeargs=(
-DALPHA=ON
-DAUTO_THREAD_FINALIZATION=ON
-DJSON=ON # bug 833900
@@ -51,7 +54,7 @@ src_configure() {
}
src_test() {
- local myctestargs=(
+ local -a myctestargs=(
# Disable problematic "style_check" cpplint test,
# this also removes the python test dependency
--exclude-regex style_check