new file mode 100644
@@ -0,0 +1,33 @@
+From 6cbd417be3f6bcbda77464db6a4d83cef3df8904 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <leon.anavi@konsulko.com>
+Date: Mon, 5 May 2025 14:08:36 +0000
+Subject: [PATCH] json11.cpp: Include cstdint
+
+Fixes:
+
+json11.cpp:101:32: error: 'uint8_t' does not name a type
+
+This work was sponsored by GOVCERT.LU.
+
+Upstream-Status: Pending [https://bitbucket.org/multicoreware/x265_git/pull-requests/33]
+
+Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
+---
+ dynamicHDR10/json11/json11.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dynamicHDR10/json11/json11.cpp b/dynamicHDR10/json11/json11.cpp
+index 7625777..74f990a 100644
+--- a/dynamicHDR10/json11/json11.cpp
++++ b/dynamicHDR10/json11/json11.cpp
+@@ -25,6 +25,7 @@
+ #include <cstdlib>
+ #include <cstdio>
+ #include <limits>
++#include <cstdint>
+
+ #if _MSC_VER
+ #pragma warning(disable: 4510) //const member cannot be default initialized
+--
+2.39.5
+
@@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
DEPENDS = "nasm-native gnutls zlib libpcre numactl"
-SRC_URI = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_${PV}.tar.gz"
+SRC_URI = " \
+ https://bitbucket.org/multicoreware/x265_git/downloads/x265_${PV}.tar.gz \
+ file://0001-json11.cpp-Include-cstdint.patch \
+"
SRC_URI[sha256sum] = "a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29"
S = "${WORKDIR}/x265_${PV}/source"
Include cstdint in json11.cpp Fixes: json11.cpp:101:32: error: 'uint8_t' does not name a type This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> --- .../0001-json11.cpp-Include-cstdint.patch | 33 +++++++++++++++++++ .../recipes-multimedia/x265/x265_4.1.bb | 5 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/x265/x265/0001-json11.cpp-Include-cstdint.patch