commit:     9b26cbf2aa72f49ebfd3a4d0e30f77ad535b4e8d
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Tue Jan 16 22:15:41 2024 +0000
Commit:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
CommitDate: Tue Jan 16 22:15:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b26cbf2

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

Closes: https://bugs.gentoo.org/905174
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 media-libs/amdvlk/amdvlk-2023.1.2.ebuild                    |  1 +
 media-libs/amdvlk/files/amdvlk-2023.1.2-gcc13-cstdint.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.2.ebuild 
b/media-libs/amdvlk/amdvlk-2023.1.2.ebuild
index 9694ac2bfe..5ae8851868 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.2.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.2.ebuild
@@ -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(){

diff --git a/media-libs/amdvlk/files/amdvlk-2023.1.2-gcc13-cstdint.patch 
b/media-libs/amdvlk/files/amdvlk-2023.1.2-gcc13-cstdint.patch
new file mode 100644
index 0000000000..2bfc7d299f
--- /dev/null
+++ b/media-libs/amdvlk/files/amdvlk-2023.1.2-gcc13-cstdint.patch
@@ -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>

Reply via email to