summaryrefslogtreecommitdiff
path: root/dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch')
-rw-r--r--dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch b/dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch
new file mode 100644
index 000000000000..0aec99627a4a
--- /dev/null
+++ b/dev-util/rocprofiler/files/rocprofiler-4.3.0-fix-gcc11.patch
@@ -0,0 +1,13 @@
+Index: rocprofiler-rocm-4.3.0/test/ctrl/test_kernel.h
+===================================================================
+--- rocprofiler-rocm-4.3.0.orig/test/ctrl/test_kernel.h
++++ rocprofiler-rocm-4.3.0/test/ctrl/test_kernel.h
+@@ -23,7 +23,7 @@ THE SOFTWARE.
+ #ifndef TEST_CTRL_TEST_KERNEL_H_
+ #define TEST_CTRL_TEST_KERNEL_H_
+
+-#include <string.h>
++#include <string>
+ #include <stdint.h>
+ #include <map>
+