diff options
Diffstat (limited to 'sci-mathematics/stp')
-rw-r--r-- | sci-mathematics/stp/files/stp-2.3.3-cstdint.patch | 11 | ||||
-rw-r--r-- | sci-mathematics/stp/stp-2.3.3-r2.ebuild | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch b/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch new file mode 100644 index 000000000000..4c010848ee36 --- /dev/null +++ b/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch @@ -0,0 +1,11 @@ +--- a/./include/stp/AST/ASTNode.h ++++ b/./include/stp/AST/ASTNode.h +@@ -24,6 +24,8 @@ THE SOFTWARE. + #ifndef ASTNODE_H + #define ASTNODE_H + ++#include <cstdint> ++ + #include "stp/AST/NodeFactory/HashingNodeFactory.h" + #include "stp/Util/Attributes.h" + #include "ASTInternal.h" diff --git a/sci-mathematics/stp/stp-2.3.3-r2.ebuild b/sci-mathematics/stp/stp-2.3.3-r2.ebuild index f9142adbe6df..000e5bef36f9 100644 --- a/sci-mathematics/stp/stp-2.3.3-r2.ebuild +++ b/sci-mathematics/stp/stp-2.3.3-r2.ebuild @@ -42,9 +42,12 @@ BDEPEND="test? ( dev-python/lit )" PATCHES=( "${FILESDIR}"/${P}-CMakeLists.txt-fix_cflags.patch + "${FILESDIR}"/${P}-cstdint.patch "${FILESDIR}"/${P}-stp.py-library_path.patch ) +#include <cstdint> + pkg_setup() { use python && python-single-r1_pkg_setup } |