From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/files/, media-video/mpv/
Date: Sun, 11 Mar 2018 13:07:52 +0000 (UTC) [thread overview]
Message-ID: <1520773661.49e832ffa5becb353cbdc3f34c2e34fd40e0147a.kensington@gentoo> (raw)
commit: 49e832ffa5becb353cbdc3f34c2e34fd40e0147a
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun Mar 11 12:51:27 2018 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar 11 13:07:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e832ff
media-video/mpv: update ffmpeg patch for 9999
Closes: https://bugs.gentoo.org/649908
Closes: https://github.com/gentoo/gentoo/pull/7421
Package-Manager: Portage-2.3.24, Repoman-2.3.6
...-9999-make-ffmpeg-version-check-non-fatal.patch | 28 ++++++++++++++++++++++
media-video/mpv/mpv-9999.ebuild | 2 +-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/media-video/mpv/files/mpv-9999-make-ffmpeg-version-check-non-fatal.patch b/media-video/mpv/files/mpv-9999-make-ffmpeg-version-check-non-fatal.patch
new file mode 100644
index 00000000000..1594617fba9
--- /dev/null
+++ b/media-video/mpv/files/mpv-9999-make-ffmpeg-version-check-non-fatal.patch
@@ -0,0 +1,28 @@
+player: make ffmpeg/libav version check non-fatal
+
+We already enforce mpv rebuilds when ffmpeg/libav SONAME changes.
+
+diff --git a/player/main.c b/player/main.c
+index 5a3fe4c1b7..8cfbb09c56 100644
+--- a/player/main.c
++++ b/player/main.c
+@@ -429,13 +429,12 @@ int mp_initialize(struct MPContext *mpctx, char **options)
+ // Distro maintainers who patch this out should be aware that mpv
+ // intentionally ignores ABI in some places where it's not possible to
+ // get by without violating it.
+- print_libav_versions(mpctx->log, MSGL_FATAL);
+- MP_FATAL(mpctx, "\nmpv was compiled against a different version of "
+- "FFmpeg/Libav than the shared\nlibrary it is linked against. "
+- "This is most likely a broken build and could\nresult in "
+- "misbehavior and crashes.\n\nmpv does not support this "
+- "configuration and will not run - rebuild mpv instead.\n");
+- return -1;
++ print_libav_versions(mpctx->log, MSGL_WARN);
++ MP_WARN(mpctx, "\nmpv was compiled against a different version of "
++ "FFmpeg/Libav than the shared\nlibrary it is linked against. "
++ "This could result in misbehavior and crashes.\n\n"
++ "Upstream does not support this configuration.\n"
++ "Please rebuild mpv in case of any problems.\n");
+ }
+
+ if (!mpctx->playlist->first && !opts->player_idle_mode)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index e273db3d080..302641687d6 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -132,7 +132,7 @@ RDEPEND="${COMMON_DEPEND}
"
PATCHES=(
- "${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch"
+ "${FILESDIR}/${P}-make-ffmpeg-version-check-non-fatal.patch"
)
src_prepare() {
next reply other threads:[~2018-03-11 13:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-11 13:07 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-27 12:11 [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/files/, media-video/mpv/ Ionen Wolkens
2023-12-16 21:18 James Le Cuirot
2023-03-06 20:41 Ionen Wolkens
2022-11-12 14:22 Ionen Wolkens
2020-01-05 18:54 Mikle Kolyada
2018-07-28 8:53 Michał Górny
2018-02-14 19:55 Michał Górny
2016-08-15 20:54 Patrice Clement
2016-04-15 8:49 Sergei Trofimovich
2016-04-12 18:47 Patrice Clement
2016-03-14 18:20 Ian Delaney
2016-03-10 21:51 Patrice Clement
2016-03-01 6:22 Ian Delaney
2016-03-01 6:22 Ian Delaney
2016-01-18 20:50 Patrice Clement
2015-12-28 13:27 Ian Delaney
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=1520773661.49e832ffa5becb353cbdc3f34c2e34fd40e0147a.kensington@gentoo \
--to=kensington@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