commit: c688602054fd943ab8898cf81c8ea2ada133f9bb Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Fri Apr 18 16:30:49 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Fri Apr 18 16:30:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6886020
sci-mathematics/polymake: trivial build fix for newer compilers Closes: https://bugs.gentoo.org/939388 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/polymake/files/polymake-4.13-cstdint.patch | 13 +++++++++++++ sci-mathematics/polymake/polymake-4.13.ebuild | 2 ++ 2 files changed, 15 insertions(+) diff --git a/sci-mathematics/polymake/files/polymake-4.13-cstdint.patch b/sci-mathematics/polymake/files/polymake-4.13-cstdint.patch new file mode 100644 index 000000000000..a5734cdbf9ad --- /dev/null +++ b/sci-mathematics/polymake/files/polymake-4.13-cstdint.patch @@ -0,0 +1,13 @@ +diff --git a/lib/core/include/internal/comparators.h b/lib/core/include/internal/comparators.h +index 57e3f14..3486f80 100644 +--- a/lib/core/include/internal/comparators.h ++++ b/lib/core/include/internal/comparators.h +@@ -17,6 +17,8 @@ + + #pragma once + ++#include <cstdint> ++ + #include "polymake/internal/comparators_ops.h" + #include "polymake/internal/matrix_rows_cols.h" + #include "polymake/TransformedContainer.h" diff --git a/sci-mathematics/polymake/polymake-4.13.ebuild b/sci-mathematics/polymake/polymake-4.13.ebuild index dd44fe5295b6..e7f06938aa0e 100644 --- a/sci-mathematics/polymake/polymake-4.13.ebuild +++ b/sci-mathematics/polymake/polymake-4.13.ebuild @@ -53,6 +53,8 @@ RDEPEND="${DEPEND} dev-perl/XML-SAX dev-perl/XML-Writer" +PATCHES=( "${FILESDIR}/${P}-cstdint.patch" ) + src_configure() { # Without this, the build system tries to use "the highest possible" # optimization level and will override what's in your CXXFLAGS.
