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 0000000000000..a5734cdbf9adf --- /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 ++ + #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 dd44fe5295b63..e7f06938aa0ec 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.