aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpv/no-ebp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mpv/no-ebp.patch')
-rw-r--r--main/mpv/no-ebp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/mpv/no-ebp.patch b/main/mpv/no-ebp.patch
new file mode 100644
index 0000000000..82bb19d732
--- /dev/null
+++ b/main/mpv/no-ebp.patch
@@ -0,0 +1,15 @@
+gcc-4.8.2 does not allow use of ebp in asm
+
+diff --git a/configure b/configure
+index 2c41e05..3907655 100755
+--- a/configure
++++ b/configure
+@@ -3525,7 +3525,7 @@ $def_pthreads
+ #define HAVE_INLINE_ASM 1
+
+ /* Use these registers in x86 inline asm. No proper detection yet. */
+-#define HAVE_EBP_AVAILABLE 1
++#define HAVE_EBP_AVAILABLE 0
+
+ #endif /* MPLAYER_CONFIG_H */
+ EOF