[arch-commits] Commit in electron5/trunk (PKGBUILD chromium-ffmpeg-4.3.patch)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jul 14 21:56:49 UTC 2020
Date: Tuesday, July 14, 2020 @ 21:56:48
Author: foutrelis
Revision: 663805
upgpkg: electron5 5.0.13-7: add patch for ffmpeg 4.3 (FS#67020)
Added:
electron5/trunk/chromium-ffmpeg-4.3.patch
Modified:
electron5/trunk/PKGBUILD
---------------------------+
PKGBUILD | 5 ++++-
chromium-ffmpeg-4.3.patch | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-14 21:56:47 UTC (rev 663804)
+++ PKGBUILD 2020-07-14 21:56:48 UTC (rev 663805)
@@ -4,7 +4,7 @@
pkgver=5.0.13
_commit=f5fab127ca0eff5336e6cd469c794fdb9e3330b4
_chromiumver=73.0.3683.121
-pkgrel=6
+pkgrel=7
pkgdesc='Build cross platform desktop apps with web technologies'
arch=('x86_64')
url='https://electronjs.org/'
@@ -25,6 +25,7 @@
'chromium-avoid-log-flooding-in-GLSurfacePresentationHelper.patch'
'chromium-color_utils-use-std-sqrt.patch'
'chromium-media-fix-build-with-libstdc++.patch'
+ 'chromium-ffmpeg-4.3.patch'
'chromium-skia-harmony.patch'
'icu65.patch'
'simplified-ListFormat-implementation.patch'
@@ -44,6 +45,7 @@
'f2b12ccf83a8e0adda4a87ae5c983df5e092ccf1f9a6f2e05799ce4d451dbda1'
'b3b6f5147d519c586cbdaf3b227dd1719676fa3a65edd6f08989087afd287afa'
'f51fe91427d8638c5551746d2ec7de99e8059dd76889cfeaee8ca3d8fed62265'
+ '5390304b5f544868985ce00a3ec082d4ece2dacb1c73cdb35dd4facfea12449a'
'5887f78b55c4ecbbcba5930f3f0bb7bc0117c2a41c2f761805fcf7f46f1ca2b3'
'1de9bdbfed482295dda45c7d4e323cee55a34e42f66b892da1c1a778682b7a41'
'49cb3444eae2bf8aa83b4f8704023512dba4bf30f3caafc6dbd5ed874b7da72b'
@@ -150,6 +152,7 @@
patch -Np1 -i ../chromium-avoid-log-flooding-in-GLSurfacePresentationHelper.patch
patch -Np1 -i ../chromium-color_utils-use-std-sqrt.patch
patch -d media -Np1 -i ../../chromium-media-fix-build-with-libstdc++.patch
+ patch -Np1 -i ../chromium-ffmpeg-4.3.patch
patch -Np0 -i ../chromium-skia-harmony.patch
patch -Np1 -i ../icu65.patch
patch -Np1 -d v8 <../simplified-ListFormat-implementation.patch
Added: chromium-ffmpeg-4.3.patch
===================================================================
--- chromium-ffmpeg-4.3.patch (rev 0)
+++ chromium-ffmpeg-4.3.patch 2020-07-14 21:56:48 UTC (rev 663805)
@@ -0,0 +1,21 @@
+diff --git a/media/base/media.cc b/media/base/media.cc
+index c282ee49a03..a298b40c79b 100644
+--- a/media/base/media.cc
++++ b/media/base/media.cc
+@@ -14,6 +14,7 @@
+ #include "third_party/libyuv/include/libyuv.h"
+
+ #if BUILDFLAG(ENABLE_FFMPEG)
++#include <limits>
+ #include "third_party/ffmpeg/ffmpeg_features.h" // nogncheck
+ extern "C" {
+ #include <libavutil/cpu.h>
+@@ -41,7 +42,7 @@ class MediaInitializer {
+
+ #if BUILDFLAG(USE_ALLOCATOR_SHIM)
+ // Remove allocation limit from ffmpeg, so calls go down to shim layer.
+- av_max_alloc(0);
++ av_max_alloc(std::numeric_limits<size_t>::max());
+ #endif // BUILDFLAG(USE_ALLOCATOR_SHIM)
+
+ #endif // BUILDFLAG(ENABLE_FFMPEG)
More information about the arch-commits
mailing list