From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/makemkv/, media-video/makemkv/files/
Date: Mon, 14 May 2018 21:48:41 +0000 (UTC) [thread overview]
Message-ID: <1526334505.3b2c32569270c1fb2062436efae206e4be737349.chewi@gentoo> (raw)
commit: 3b2c32569270c1fb2062436efae206e4be737349
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon May 14 21:48:25 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon May 14 21:48:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2c3256
media-video/makemkv: Patch for compatibility with ffmpeg 4
Closes: https://bugs.gentoo.org/655488
Package-Manager: Portage-2.3.36, Repoman-2.3.9
media-video/makemkv/files/makemkv-ffmpeg.patch | 25 +++++++++++++++++++++++++
media-video/makemkv/makemkv-1.12.2.ebuild | 2 +-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/media-video/makemkv/files/makemkv-ffmpeg.patch b/media-video/makemkv/files/makemkv-ffmpeg.patch
new file mode 100644
index 00000000000..930c144d263
--- /dev/null
+++ b/media-video/makemkv/files/makemkv-ffmpeg.patch
@@ -0,0 +1,25 @@
+Taken from https://negativo17.org/repos/multimedia/epel-7/SRPMS/makemkv-1.12.2-2.el7.src.rpm
+See https://github.com/FFmpeg/FFmpeg/commit/7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615
+and https://github.com/FFmpeg/FFmpeg/commit/b79a7da36faa6bb5914b04800b548e99eb3b81ca
+diff --git a/libffabi/src/ffabi.c b/libffabi/src/ffabi.c
+index 20db4e9..f08d53c 100644
+--- a/libffabi/src/ffabi.c
++++ b/libffabi/src/ffabi.c
+@@ -517,7 +517,7 @@ FFM_AudioEncodeContext* __cdecl ffm_audio_encode_init(void* logctx,const char* n
+ info->profile : FF_PROFILE_UNKNOWN;
+
+ if ((CodecFlags&FFM_CODEC_FLAG_GLOBAL_HEADER)!=0)
+- ctx->avctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
++ ctx->avctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+
+ if (argp) {
+ for (i=0;argp[i];i+=2) {
+@@ -718,7 +718,7 @@ int __cdecl ffm_audio_encode_get_info(FFM_AudioEncodeContext* ctx,FFM_AudioEncod
+ info->delay = (int32_t)ctx->avctx->delay;
+ info->flags = 0;
+
+- if ((ctx->avctx->flags&CODEC_FLAG_GLOBAL_HEADER)!=0)
++ if ((ctx->avctx->flags&AV_CODEC_FLAG_GLOBAL_HEADER)!=0)
+ info->flags |= FFM_CODEC_FLAG_GLOBAL_HEADER;
+
+ return 0;
diff --git a/media-video/makemkv/makemkv-1.12.2.ebuild b/media-video/makemkv/makemkv-1.12.2.ebuild
index bcc7cf5092e..e5003042929 100644
--- a/media-video/makemkv/makemkv-1.12.2.ebuild
+++ b/media-video/makemkv/makemkv-1.12.2.ebuild
@@ -39,7 +39,7 @@ RDEPEND="${DEPEND}
CONFIG_CHECK="~CHR_DEV_SG"
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${PN}-path.patch )
+PATCHES=( "${FILESDIR}"/${PN}-{path,ffmpeg}.patch )
src_configure() {
# See bug #439380.
next reply other threads:[~2018-05-14 21:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-14 21:48 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-26 20:27 [gentoo-commits] repo/gentoo:master commit in: media-video/makemkv/, media-video/makemkv/files/ James Le Cuirot
2021-03-30 22:32 James Le Cuirot
2020-10-02 20:43 James Le Cuirot
2018-04-30 22:30 James Le Cuirot
2017-03-26 20:28 James Le Cuirot
2016-05-08 16:28 James Le Cuirot
2015-12-27 12:10 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526334505.3b2c32569270c1fb2062436efae206e4be737349.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox