1 |
commit: 176a54440c40e800903fadf352a4ad4c1658658c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 08:54:36 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 17:22:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176a5444 |
7 |
|
8 |
games-emulation/mgba: tidy patch and add links |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch | 14 +++----------- |
13 |
1 file changed, 3 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch |
16 |
index cf4f6f56a2d4..6b8d55c377ea 100644 |
17 |
--- a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch |
18 |
+++ b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch |
19 |
@@ -1,15 +1,9 @@ |
20 |
-From cdc753516798882a805db1d2042dbce8313382bf Mon Sep 17 00:00:00 2001 |
21 |
+https://bugs.gentoo.org/834374 |
22 |
+ |
23 |
+https://github.com/mgba-emu/mgba/commit/cdc753516798882a805db1d2042dbce8313382bf |
24 |
From: Ryan Tandy <ryan@××××××.ca> |
25 |
Date: Thu, 3 Feb 2022 19:02:52 -0800 |
26 |
Subject: [PATCH] FFmpeg: Support FFmpeg 5.0 |
27 |
- |
28 |
---- |
29 |
- src/feature/ffmpeg/ffmpeg-decoder.c | 3 ++- |
30 |
- src/feature/ffmpeg/ffmpeg-encoder.c | 25 ++++++++++++++----------- |
31 |
- 2 files changed, 16 insertions(+), 12 deletions(-) |
32 |
- |
33 |
-diff --git a/src/feature/ffmpeg/ffmpeg-decoder.c b/src/feature/ffmpeg/ffmpeg-decoder.c |
34 |
-index c3bb6d1c5c..daa47fbf2c 100644 |
35 |
--- a/src/feature/ffmpeg/ffmpeg-decoder.c |
36 |
+++ b/src/feature/ffmpeg/ffmpeg-decoder.c |
37 |
@@ -5,6 +5,7 @@ |
38 |
@@ -29,8 +23,6 @@ index c3bb6d1c5c..daa47fbf2c 100644 |
39 |
struct AVCodecContext* context = NULL; |
40 |
if (type == AVMEDIA_TYPE_VIDEO && decoder->videoStream < 0) { |
41 |
decoder->video = avcodec_alloc_context3(NULL); |
42 |
-diff --git a/src/feature/ffmpeg/ffmpeg-encoder.c b/src/feature/ffmpeg/ffmpeg-encoder.c |
43 |
-index ad76ca57b2..be6bd3af5e 100644 |
44 |
--- a/src/feature/ffmpeg/ffmpeg-encoder.c |
45 |
+++ b/src/feature/ffmpeg/ffmpeg-encoder.c |
46 |
@@ -12,6 +12,9 @@ |