Files
haikuports/media-video/ffmpeg/patches/ffmpeg-4.1.4.patchset
2019-08-10 11:46:13 -04:00

50 lines
1.4 KiB
Plaintext

From b23b1b46b089645399db6650af4494cc845d8320 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 16 Oct 2017 18:31:07 +0200
Subject: disable ebx on x86.
diff --git a/configure b/configure
index 7310b96..e754f1a 100755
--- a/configure
+++ b/configure
@@ -6785,6 +6785,7 @@ enabled avresample && warn "Building with deprecated library libavresample"
if test $target_os = "haiku"; then
disable memalign
disable posix_memalign
+ enabled x86_32 && enabled shared && disable ebx_available
fi
flatten_extralibs(){
--
2.19.1
From eea5a92a4edbc3b9343c668d19051dda3f223f32 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Fri, 2 Feb 2018 11:39:47 +0100
Subject: Re-enable memalign for Haiku
This had been disabled in 2011:
https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2011-June/038362.html
If there are still problems with it we should rather fix them on Haiku
side.
diff --git a/configure b/configure
index e754f1a..31131ab 100755
--- a/configure
+++ b/configure
@@ -6783,8 +6783,6 @@ enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pt
enabled avresample && warn "Building with deprecated library libavresample"
if test $target_os = "haiku"; then
- disable memalign
- disable posix_memalign
enabled x86_32 && enabled shared && disable ebx_available
fi
--
2.19.1