aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-04-24 21:58:16 +0800
committerjbeich <jbeich@FreeBSD.org>2018-04-24 21:58:16 +0800
commit24215fa8318fe5c9f13a679773ef7447fb06ceba (patch)
treec9db3fc9567c74ff7078b26b9440f4f7ff78d8c3
parent6b93aba0a96e4c45f58cd57c2ced5408d829c641 (diff)
downloadfreebsd-ports-gnome-24215fa8318fe5c9f13a679773ef7447fb06ceba.tar.gz
freebsd-ports-gnome-24215fa8318fe5c9f13a679773ef7447fb06ceba.tar.zst
freebsd-ports-gnome-24215fa8318fe5c9f13a679773ef7447fb06ceba.zip
www/chromium: unbreak with ffmpeg 4.0
../../media/ffmpeg/ffmpeg_common.cc:36:1: error: static_assert failed "DecoderBuffer padding size does not fit ffmpeg requirement" static_assert(DecoderBuffer::kPaddingSize >= AV_INPUT_BUFFER_PADDING_SIZE, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 227726 Obtained from: upstream
-rw-r--r--www/chromium/Makefile2
-rw-r--r--www/chromium/files/patch-media_base_decoder__buffer.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index ddf5a12b605a..503a84cf63ec 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -3,7 +3,7 @@
PORTNAME= chromium
PORTVERSION= 65.0.3325.181
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= www
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/www/chromium/files/patch-media_base_decoder__buffer.h b/www/chromium/files/patch-media_base_decoder__buffer.h
new file mode 100644
index 000000000000..301e78b7cdf2
--- /dev/null
+++ b/www/chromium/files/patch-media_base_decoder__buffer.h
@@ -0,0 +1,13 @@
+https://chromium.googlesource.com/chromium/src/+/a568ded46a67%5E%21/
+
+--- media/base/decoder_buffer.h.orig 2018-03-20 22:05:27 UTC
++++ media/base/decoder_buffer.h
+@@ -37,7 +37,7 @@ class MEDIA_EXPORT DecoderBuffer
+ : public base::RefCountedThreadSafe<DecoderBuffer> {
+ public:
+ enum {
+- kPaddingSize = 32,
++ kPaddingSize = 64,
+ #if defined(ARCH_CPU_ARM_FAMILY)
+ kAlignmentSize = 16
+ #else