aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h')
-rw-r--r--devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h b/devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h
new file mode 100644
index 000000000000..a0d30926495d
--- /dev/null
+++ b/devel/electron23/files/patch-third__party_ffmpeg_libavcodec_x86_cabac.h
@@ -0,0 +1,12 @@
+--- third_party/ffmpeg/libavcodec/x86/cabac.h.orig 2022-02-07 13:39:41 UTC
++++ third_party/ffmpeg/libavcodec/x86/cabac.h
+@@ -31,7 +31,8 @@
+
+ #if (defined(__i386) && defined(__clang__) && (__clang_major__<2 || (__clang_major__==2 && __clang_minor__<10)))\
+ || ( !defined(__clang__) && defined(__llvm__) && __GNUC__==4 && __GNUC_MINOR__==2 && __GNUC_PATCHLEVEL__<=1)\
+- || (defined(__INTEL_COMPILER) && defined(_MSC_VER))
++ || (defined(__INTEL_COMPILER) && defined(_MSC_VER)) \
++ || ((defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386))
+ # define BROKEN_COMPILER 1
+ #else
+ # define BROKEN_COMPILER 0