Rebase x264-10b.patch Add a patch to fix linking with --system-libx264 on x86 ( https://patches.videolan.org/patch/21704/ )el8
parent
2a70c746d2
commit
31da68aca7
@ -1 +1 @@
|
|||||||
78e70a1a5d60d4f8562c49e9b8c7a07c x264-0.152-20171224-e9a5903.tar.bz2
|
38666b9a1b712f3d0c1073105af2e6a5 x264-0.155-20180806-0a84d98.tar.bz2
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
From b63c73dc5c37e5405bf032c9113c1daced3e45a4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Henrik Gramner <henrik@gramner.com>
|
||||||
|
Date: Tue, 7 Aug 2018 22:42:22 +0200
|
||||||
|
Subject: [PATCH] cli: Fix linking with --system-libx264 on x86
|
||||||
|
|
||||||
|
---
|
||||||
|
common/x86/cpu-a.asm | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm
|
||||||
|
index d94f7d54..a41d67f8 100644
|
||||||
|
--- a/common/x86/cpu-a.asm
|
||||||
|
+++ b/common/x86/cpu-a.asm
|
||||||
|
@@ -83,7 +83,7 @@ cglobal cpu_sfence
|
||||||
|
;-----------------------------------------------------------------------------
|
||||||
|
; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args)
|
||||||
|
;-----------------------------------------------------------------------------
|
||||||
|
-cglobal stack_align
|
||||||
|
+cvisible stack_align
|
||||||
|
mov rax, r0mp
|
||||||
|
mov r0, r1mp
|
||||||
|
mov r1, r2mp
|
||||||
|
@@ -131,7 +131,7 @@ cglobal cpu_cpuid_test
|
||||||
|
popfd
|
||||||
|
ret
|
||||||
|
|
||||||
|
-cglobal stack_align
|
||||||
|
+cvisible stack_align
|
||||||
|
push ebp
|
||||||
|
mov ebp, esp
|
||||||
|
sub esp, 20
|
||||||
|
--
|
||||||
|
2.11.0
|
||||||
|
|
Loading…
Reference in new issue