diff options
author | Sam James <sam@gentoo.org> | 2023-05-03 12:26:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-03 12:26:05 +0100 |
commit | 83c64ad3ecf5c63e3063ba318e86e3c8c8821a21 (patch) | |
tree | 266e0a803c9ea072fdd8faf1217c7f39a0547ab0 /dev-lang/ispc/files | |
parent | media-libs/libsdl: Keyword 1.2.60 arm, #905645 (diff) | |
download | gentoo-83c64ad3ecf5c63e3063ba318e86e3c8c8821a21.tar.gz gentoo-83c64ad3ecf5c63e3063ba318e86e3c8c8821a21.tar.bz2 gentoo-83c64ad3ecf5c63e3063ba318e86e3c8c8821a21.zip |
dev-lang/ispc: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/895572
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ispc/files')
-rw-r--r-- | dev-lang/ispc/files/ispc-1.19.0-gcc13.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch b/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch new file mode 100644 index 000000000000..e2bae38ae581 --- /dev/null +++ b/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/895572 +https://github.com/ispc/ispc/commit/ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9 + +From ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9 Mon Sep 17 00:00:00 2001 +From: Luya Tshimbalanga <luya@fedoraproject.org> +Date: Tue, 28 Feb 2023 17:20:21 -0800 +Subject: [PATCH] Fix build with GCC 13 and possibly Clang 15 + +This fix add missing <cstdint> include to handle "uint32_t". +--- a/src/target_registry.h ++++ b/src/target_registry.h +@@ -1,5 +1,5 @@ + /* +- Copyright (c) 2019-2021, Intel Corporation ++ Copyright (c) 2019-2023, Intel Corporation + All rights reserved. + + Redistribution and use in source and binary forms, with or without +@@ -40,6 +40,7 @@ + #include "bitcode_lib.h" + + #include <bitset> ++#include <cstdint> + #include <map> + #include <vector> + + |