diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-util/rocm-smi/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-util/rocm-smi/files')
-rw-r--r-- | dev-util/rocm-smi/files/rocm-smi-5.0.2-gcc12-memcpy.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/rocm-smi/files/rocm-smi-5.0.2-gcc12-memcpy.patch b/dev-util/rocm-smi/files/rocm-smi-5.0.2-gcc12-memcpy.patch new file mode 100644 index 000000000000..981efc14c23e --- /dev/null +++ b/dev-util/rocm-smi/files/rocm-smi-5.0.2-gcc12-memcpy.patch @@ -0,0 +1,19 @@ +https://github.com/RadeonOpenCompute/rocm_smi_lib/pull/107 +https://bugs.gentoo.org/840149 + +From 447bf22557c875ca7d26a72d20561feb607ed300 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Torsten=20Ke=C3=9Fler?= <t.kessler@posteo.de> +Date: Fri, 13 May 2022 11:33:11 +0200 +Subject: [PATCH] Add missing string header for memcpy + +--- a/src/rocm_smi_gpu_metrics.cc ++++ b/src/rocm_smi_gpu_metrics.cc +@@ -53,6 +53,7 @@ + #include <regex> // NOLINT + #include <vector> + #include <pthread.h> ++#include <string.h> + + #include "rocm_smi/rocm_smi_common.h" // Should go before rocm_smi.h + #include "rocm_smi/rocm_smi_main.h" + |