From 84fbc5ae7fb06308f34c8d0edbe8a700b55f02ca Mon Sep 17 00:00:00 2001 From: kirill Date: Tue, 2 Jun 2026 21:29:05 +0000 Subject: [PATCH] graphics/ffmpeg: fix llvm-22 build on i386 Reported and tested by sthen@ --- graphics/ffmpeg/patches/patch-configure | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/graphics/ffmpeg/patches/patch-configure b/graphics/ffmpeg/patches/patch-configure index 5c4c81dfb80..03b447b4802 100644 --- a/graphics/ffmpeg/patches/patch-configure +++ b/graphics/ffmpeg/patches/patch-configure @@ -20,7 +20,28 @@ Index: configure enable_weak_pic() { disabled pic && return -@@ -7002,7 +7001,7 @@ check_headers asm/types.h +@@ -6745,11 +6744,19 @@ elif enabled x86; then + # As 'i' is stored on the stack, this program will crash + # if the base pointer is used to access it because the + # base pointer is cleared in the inline assembly code. +- check_exec_crash <