From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mplayer/files/, media-video/mplayer/
Date: Wed, 6 Dec 2023 08:32:12 +0000 (UTC) [thread overview]
Message-ID: <1701851500.fa1593152d4a210b8ac3327557620746b6ddb152.sam@gentoo> (raw)
commit: fa1593152d4a210b8ac3327557620746b6ddb152
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 6 08:28:04 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 6 08:31:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa159315
media-video/mplayer: backport gcc-13 fix
The snapshot I just pushed (1.5_p20231206) will fix it for ~arch users, but let's
backport this for stable.
Bug: https://bugs.gentoo.org/918113
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch | 11 +++++++++++
media-video/mplayer/mplayer-1.5_p20230618.ebuild | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch b/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch
new file mode 100644
index 000000000000..0aab0273d424
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/918113
+--- a/libmpcodecs/mp_image.c
++++ b/libmpcodecs/mp_image.c
+@@ -30,6 +30,7 @@
+ #include "libmpcodecs/mp_image.h"
+ #include "libvo/fastmemcpy.h"
+ #include "libavutil/mem.h"
++#include <limits.h>
+ #include "mp_msg.h"
+
+ void mp_image_alloc_planes(mp_image_t *mpi) {
diff --git a/media-video/mplayer/mplayer-1.5_p20230618.ebuild b/media-video/mplayer/mplayer-1.5_p20230618.ebuild
index 3acf8571df98..9a7535cdde6b 100644
--- a/media-video/mplayer/mplayer-1.5_p20230618.ebuild
+++ b/media-video/mplayer/mplayer-1.5_p20230618.ebuild
@@ -194,6 +194,10 @@ REQUIRED_USE="
xv? ( X )"
RESTRICT="faac? ( bindist )"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc13.patch
+)
+
pkg_setup() {
if [[ ${PV} == *9999* ]]; then
elog
next reply other threads:[~2023-12-06 8:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 8:32 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-06 19:54 [gentoo-commits] repo/gentoo:master commit in: media-video/mplayer/files/, media-video/mplayer/ Miroslav Šulc
2023-02-15 7:36 Sam James
2021-04-18 16:50 Andreas Sturmlechner
2021-04-09 13:01 Alexis Ballier
2020-11-15 15:31 Joonas Niilola
2018-11-06 11:20 Alexis Ballier
2018-05-09 5:55 Lars Wendler
2017-10-23 12:13 Alexis Ballier
2017-06-19 12:50 Alexis Ballier
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=1701851500.fa1593152d4a210b8ac3327557620746b6ddb152.sam@gentoo \
--to=sam@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