Warning, /graphics/krita/3rdparty/ext_ffmpeg/0001-libopenh264-Enable-PIC-for-the-assembler-code-on-x86.patch is written in an unsupported language. File is not indexed.
0001 From 1848b3307da99d078754280eb1957f1c317079df Mon Sep 17 00:00:00 2001 0002 From: Dmitry Kazakov <dimula73@gmail.com> 0003 Date: Wed, 31 May 2023 11:10:48 +0300 0004 Subject: [PATCH] [libopenh264] Enable PIC for the assembler code on x86 0005 0006 --- 0007 meson.build | 6 +++--- 0008 1 file changed, 3 insertions(+), 3 deletions(-) 0009 0010 diff --git a/meson.build b/meson.build 0011 index 4e1102f..00a54e3 100644 0012 --- a/meson.build 0013 +++ b/meson.build 0014 @@ -66,9 +66,9 @@ if ['linux', 'android', 'ios', 'darwin'].contains(system) 0015 endif 0016 if cpu_family == 'x86' 0017 asm_format = asm_format32 0018 - asm_args += ['-DX86_32', '-DHAVE_AVX2'] 0019 + asm_args += ['-DX86_32', '-DHAVE_AVX2', '-DX86_32_PICASM'] 0020 add_project_arguments('-DHAVE_AVX2', language: 'cpp') 0021 - add_project_arguments('-DHAVE_AVX2', '-DX86_ASM', '-DX86_32_ASM', language: 'c') 0022 + add_project_arguments('-DHAVE_AVX2', '-DX86_ASM', '-DX86_32_ASM', '-DX86_32_PICASM', language: 'c') 0023 asm_inc = join_paths(meson.current_source_dir(), 'codec', 'common', 'x86', '') 0024 elif cpu_family == 'x86_64' 0025 asm_format = asm_format64 0026 @@ -106,7 +106,7 @@ if ['linux', 'android', 'ios', 'darwin'].contains(system) 0027 elif system == 'windows' 0028 if cpu_family == 'x86' 0029 asm_format = 'win32' 0030 - asm_args += ['-DPREFIX', '-DX86_32'] 0031 + asm_args += ['-DPREFIX', '-DX86_32', '-DX86_32_PICASM'] 0032 asm_inc = join_paths(meson.current_source_dir(), 'codec', 'common', 'x86', '') 0033 elif cpu_family == 'x86_64' 0034 asm_format = 'win64' 0035 -- 0036 2.25.1 0037