summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch')
-rw-r--r--media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch
new file mode 100644
index 000000000000..7152c47ce0b0
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch
@@ -0,0 +1,15 @@
+From https://patch-diff.githubusercontent.com/raw/intel/media-driver/pull/1849.patch
+From: Blackteahamburger <blackteahamburger@outlook.com>
+Date: Thu, 29 Aug 2024 17:04:55 +0800
+Subject: [PATCH] Fix missing cstdint for GCC 15
+
+--- a/media_common/linux/common/os/mos_defs_specific.h
++++ b/media_common/linux/common/os/mos_defs_specific.h
+@@ -29,6 +29,7 @@
+
+ #include <pthread.h>
+ #include <semaphore.h>
++#include <cstdint>
+ #include <string>
+
+ typedef pthread_mutex_t MOS_MUTEX, *PMOS_MUTEX; //!< mutex pointer