commit: 7f80124ed0ecb7d702b69c011b847cb0c7367204 Author: Violet Purcell <vimproved <AT> inventati <DOT> org> AuthorDate: Thu Sep 18 13:59:27 2025 +0000 Commit: Violet Purcell <vimproved <AT> inventati <DOT> org> CommitDate: Thu Sep 18 13:59:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f80124e
dev-libs/mcl: backport musl lift_sequence fix from azahar fork Signed-off-by: Violet Purcell <vimproved <AT> inventati.org> .../files/mcl-0.1.13-musl-lift_sequence-fix.patch | 27 ++++++++++++++++++++++ dev-libs/mcl/mcl-0.1.13.ebuild | 1 + 2 files changed, 28 insertions(+) diff --git a/dev-libs/mcl/files/mcl-0.1.13-musl-lift_sequence-fix.patch b/dev-libs/mcl/files/mcl-0.1.13-musl-lift_sequence-fix.patch new file mode 100644 index 0000000000..d74774bf9f --- /dev/null +++ b/dev-libs/mcl/files/mcl-0.1.13-musl-lift_sequence-fix.patch @@ -0,0 +1,27 @@ +From https://github.com/azahar-emu/mcl/commit/7b08d83418f628b800dfac1c9a16c3f59036fbad Mon Sep 17 00:00:00 2001 +From: PabloMK7 <[email protected]> +Date: Sun, 16 Mar 2025 22:27:04 +0000 +Subject: [PATCH] Fix lift_sequence in msys2 + +--- a/include/mcl/mp/typelist/lift_sequence.hpp ++++ b/include/mcl/mp/typelist/lift_sequence.hpp +@@ -5,6 +5,7 @@ + #pragma once + + #include <type_traits> ++#include <utility> + + #include "mcl/mp/typelist/list.hpp" + +@@ -20,6 +21,11 @@ struct lift_sequence_impl<VLT<T, values...>> { + using type = list<std::integral_constant<T, values>...>; + }; + ++template<class T, T... values> ++struct lift_sequence_impl<std::integer_sequence<T, values...>> { ++ using type = list<std::integral_constant<T, values>...>; ++}; ++ + } // namespace detail + + /// Lifts values in value list VL to create a type list. diff --git a/dev-libs/mcl/mcl-0.1.13.ebuild b/dev-libs/mcl/mcl-0.1.13.ebuild index ab7df6462d..d8e63364de 100644 --- a/dev-libs/mcl/mcl-0.1.13.ebuild +++ b/dev-libs/mcl/mcl-0.1.13.ebuild @@ -25,6 +25,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.1.13-build-tests-only-when-requested.patch + "${FILESDIR}"/${PN}-0.1.13-musl-lift_sequence-fix.patch ) src_configure() {
