summaryrefslogtreecommitdiff
path: root/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-22 05:27:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-22 05:27:18 +0100
commit992aa50a54a56c9e705ca4e85d809ec8989d74a2 (patch)
tree163a97df1174c6bc492ee86ad54667f5267306cf /sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
parentce5c22ea4ab2c848cb8e0fe7be18977d51f5f0bb (diff)
gentoo auto-resync : 22:09:2022 - 05:27:18
Diffstat (limited to 'sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch')
-rw-r--r--sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
new file mode 100644
index 000000000000..c61c723ef4ad
--- /dev/null
+++ b/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
@@ -0,0 +1,12 @@
+This fixes compilation issue with gcc-12
+===================================================================
+--- rocSPARSE-rocm-5.1.3.orig/clients/common/utility.cpp
++++ rocSPARSE-rocm-5.1.3/clients/common/utility.cpp
+@@ -29,6 +29,7 @@
+
+ #include <chrono>
+ #include <cstdlib>
++#include <stdexcept>
+
+ #ifdef WIN32
+ #define strcasecmp(A, B) _stricmp(A, B)