mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
sci-mathematics/polymake: trivial build fix for newer compilers
Closes: https://bugs.gentoo.org/939388 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
parent
391eeda487
commit
c688602054
13
sci-mathematics/polymake/files/polymake-4.13-cstdint.patch
Normal file
13
sci-mathematics/polymake/files/polymake-4.13-cstdint.patch
Normal file
@ -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"
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user