summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/Work-around-https-sourceware.org-bugzilla-show_bug.c.patch
blob: 3cd37c5cdb4ea50aaf660d0a92b21136879bb17c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Mike Hommey <mh@glandium.org>
Date: Wed, 5 Jul 2023 05:25:35 +0900
Subject: Work around https://sourceware.org/bugzilla/show_bug.cgi?id=30578

---
 media/ffvpx/config_unix64.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/media/ffvpx/config_unix64.h b/media/ffvpx/config_unix64.h
index 7d63f47..086eaa3 100644
--- a/media/ffvpx/config_unix64.h
+++ b/media/ffvpx/config_unix64.h
@@ -204,7 +204,11 @@
 #define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
 #define HAVE_CABS 0
 #define HAVE_CEXP 0
+#ifdef FFMPEG_DISABLE_INLINE_ASM
+#define HAVE_INLINE_ASM 0
+#else
 #define HAVE_INLINE_ASM 1
+#endif
 #define HAVE_SYMVER 1
 #define HAVE_X86ASM 1
 #define HAVE_BIGENDIAN 0