diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-04-24 21:58:16 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-04-24 21:58:16 +0800 |
commit | 24215fa8318fe5c9f13a679773ef7447fb06ceba (patch) | |
tree | c9db3fc9567c74ff7078b26b9440f4f7ff78d8c3 | |
parent | 6b93aba0a96e4c45f58cd57c2ced5408d829c641 (diff) | |
download | freebsd-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/Makefile | 2 | ||||
-rw-r--r-- | www/chromium/files/patch-media_base_decoder__buffer.h | 13 |
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 |