Files
haikuports/media-video/ffmpeg/patches/ffmpeg-4.2.1.patchset
2019-09-07 13:43:41 +02:00

50 lines
1.3 KiB
Plaintext

From b23b1b46b089645399db6650af4494cc845d8320 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 7 Aug 2019 16:21:12 +0300
Subject: disable ebx on x86.
diff --git a/configure b/configure
index 34c2adb..ff4f783 100755
--- a/configure
+++ b/configure
@@ -6923,6 +6923,7 @@ case $target_os in
haiku)
disable memalign
disable posix_memalign
+ enabled x86_32 && enabled shared && disable ebx_available
;;
*-dos|freedos|opendos)
if test_cpp_condition sys/version.h "defined(__DJGPP__) && __DJGPP__ == 2 && __DJGPP_MINOR__ == 5"; then
--
2.21.0
From eea5a92a4edbc3b9343c668d19051dda3f223f32 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Wed, 7 Aug 2019 16:21:32 +0300
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 ff4f783..7ddfa31 100755
--- a/configure
+++ b/configure
@@ -6921,8 +6921,6 @@ enabled avresample && warn "Building with deprecated library libavresample"
case $target_os in
haiku)
- disable memalign
- disable posix_memalign
enabled x86_32 && enabled shared && disable ebx_available
;;
*-dos|freedos|opendos)
--
2.21.0