From da3f2915cd48a57e4db05ab2e770321d5d70f46d Mon Sep 17 00:00:00 2001 From: BtbN Date: Fri, 16 May 2025 22:46:44 +0200 Subject: [PATCH] Fix x265 build with gcc-15 --- scripts.d/50-x265.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts.d/50-x265.sh b/scripts.d/50-x265.sh index 4c85ad8..2dd9810 100755 --- a/scripts.d/50-x265.sh +++ b/scripts.d/50-x265.sh @@ -1,7 +1,7 @@ #!/bin/bash SCRIPT_REPO="https://bitbucket.org/multicoreware/x265_git.git" -SCRIPT_COMMIT="f8be4634f6db0b67d149552386559095a840ccf2" +SCRIPT_COMMIT="78e5ac35c13c5cbccc5933083edceb0d3eaeaa21" ffbuild_enabled() { [[ $VARIANT == lgpl* ]] && return -1 @@ -23,6 +23,8 @@ ffbuild_dockerbuild() { -DENABLE_ALPHA=ON ) + sed -i '1i#include ' source/dynamicHDR10/json11/json11.cpp + if [[ $TARGET != *32 ]]; then mkdir 8bit 10bit 12bit cmake "${common_config[@]}" -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_HDR10_PLUS=ON -DMAIN12=ON -S source -B 12bit &