media-libs/amdvlk: fix compilation for gcc-13

Closes: https://bugs.gentoo.org/905174
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
This commit is contained in:
YOSHIOKA Takuma
2024-01-17 07:15:41 +09:00
parent 84a10c97ed
commit 9b26cbf2aa
2 changed files with 12 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ PATCHES=(
"${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations.patch"
"${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations-part2.patch"
"${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #887777
"${FILESDIR}/amdvlk-2023.1.2-gcc13-cstdint.patch" #905174
)
pkg_pretend(){

View File

@@ -0,0 +1,11 @@
diff -Naur amdvlk.orig/pal/src/core/imported/rdf/rdf/inc/amdrdf.h amdvlk/pal/src/core/imported/rdf/rdf/inc/amdrdf.h
--- amdvlk.orig/pal/src/core/imported/rdf/rdf/inc/amdrdf.h 2023-02-16 17:37:47.000000000 +0900
+++ amdvlk/pal/src/core/imported/rdf/rdf/inc/amdrdf.h 2024-01-17 06:58:02.666146730 +0900
@@ -25,6 +25,7 @@
#pragma once
#include <cstddef>
+#include <cstdint>
#include <cstring>
#include <functional>
#include <memory>