commit 2424675

hovercats  ·  2024-05-03 14:07:25 +0000 UTC
parent 980175d
cmus: make patches more consistent
4 files changed,  +29, -4
+2, -2
1@@ -1,3 +1,3 @@
2 52dfb2d883397bd347b9db23853b973f05bf7d67ba8953f71342a5dd44f5358e06
3-ce583d73d23246d09dfcd59a138ac8cd2b291138c02290421d163ae896d7119aba
4-ba73612edfa1145174ea745ac4e4a777e28eb63a61d9fd52e0ba21f57e615ef0be
5+946c2a021f9d021dbaa1bd8bb197fe9a6dad90f17cd7e7696bdd48719a247764fe
6+5b3ce4eb81e7f6c80f007f37d304bec9fb9a29658fe7afd492dca6f89afc4ae218
+13, -0
 1@@ -1,3 +1,13 @@
 2+From 07ce2dc7082a1ed8704c21fd3f2877c8ba6b12f9 Mon Sep 17 00:00:00 2001
 3+From: Gavin Troy <gavin@cantlogout.com>
 4+Date: Sun, 16 Apr 2023 22:32:52 +0100
 5+Subject: [PATCH] Remove AV_CODEC_{CAP,FLAG}_TRUNCATED for FFmpeg 6
 6+ compatibility
 7+
 8+---
 9+ ip/ffmpeg.c | 3 ---
10+ 1 file changed, 3 deletions(-)
11+
12 diff --git a/ip/ffmpeg.c b/ip/ffmpeg.c
13 index 09ed3fc..ea0b26f 100644
14 --- a/ip/ffmpeg.c
15@@ -12,3 +22,6 @@ index 09ed3fc..ea0b26f 100644
16  		if (avcodec_open2(cc, codec, NULL) < 0) {
17  			d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id));
18  			err = -IP_ERROR_UNSUPPORTED_FILE_TYPE;
19+-- 
20+2.44.0
21+
+12, -0
 1@@ -1,3 +1,12 @@
 2+From 46f37e4799b04b08f51fc8b1681749231befdd31 Mon Sep 17 00:00:00 2001
 3+From: hovercats <hovercatswithlasereyes@protonmail.com>
 4+Date: Fri, 3 May 2024 16:05:51 +0200
 5+Subject: [PATCH] fix incompability with netbsd-curses
 6+
 7+---
 8+ command_mode.c | 6 ++++--
 9+ 1 file changed, 4 insertions(+), 2 deletions(-)
10+
11 diff --git a/command_mode.c b/command_mode.c
12 index 3d00267..a227c6b 100644
13 --- a/command_mode.c
14@@ -15,3 +24,6 @@ index 3d00267..a227c6b 100644
15  	} else {
16  		struct cmus_opt *opt;
17  		char buf[OPTION_MAX_SIZE];
18+-- 
19+2.44.0
20+
+2, -2
1@@ -1,3 +1,3 @@
2 https://github.com/cmus/cmus/archive/v2.10.0.tar.gz
3-patches/cur_view.patch
4-patches/ffmpeg6.patch
5+patches/0001-Remove-AV_CODEC_-CAP-FLAG-_TRUNCATED-for-FFmpeg-6-co.patch
6+patches/0002-fix-incompability-with-netbsd-curses.patch