Debian Patches

Status for cmus/2.12.0-2

Patch Description Author Forwarded Bugs Origin Last update
0001-atomic_ld.patch Pass LDLIBS to the linker

Needed to pass -latomic at the end so that we can fix a FTBFS on various
architectures.
Ryan Kavanagh <rak@debian.org> no debian Debian 2019-09-07
0002-fix-blhc.patch Use hardening flags for Doc/ttman Philippe SWARTVAGHER <phil.swart@gmx.fr> not-needed 2025-03-16
0003-ip-ffmpeg-more-precise-seeking.patch ip/ffmpeg: more precise seeking
av_seek_frame() and avformat_seek_file() seek to nearest "keyframe". For
codecs like, for example, ape this means that seeking will be very off
(5 seconds or more). So what we do is:
1. seek to nearest "keyframe" before the desired time,
2. discard some frames to approach the desired time.
ihy123 <aladinandreyy@gmail.com> no 2025-08-14
0004-ip-ffmpeg-skip-samples-only-when-needed.patch ip/ffmpeg: skip samples only when needed ihy123 <aladinandreyy@gmail.com> no 2025-08-15
0005-ip-ffmpeg-remove-excessive-version-checks.patch ip/ffmpeg: remove excessive version checks
ffmpeg download page states that v4.0.6 has
- libavutil 56.14.100
- libavcodec 58.18.100
- libavformat 58.12.100
(https://ffmpeg.org/olddownload.html)

After removing all checks for versions lower than these, the plugin
still compiles with v3.3.9 headers.

After all, why be better with compatibility than developers themselves?
ihy123 <aladinandreyy@gmail.com> no 2025-08-16
0006-ip-ffmpeg-major-refactor.patch ip/ffmpeg: major refactor ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0007-Validate-sample-format-in-ip_open.patch Validate sample format in ip_open()
To prevent segfault in ip_setup() because channels=0, validate ip_data->sf
after opening ip.
ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0008-ip-ffmpeg-flush-swresample-buffer-when-seeking.patch ip/ffmpeg: flush swresample buffer when seeking ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0009-ip-ffmpeg-remember-swr_frame-s-capacity.patch ip/ffmpeg: remember swr_frame's capacity ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0010-ip-ffmpeg-reset-swr_frame_start-when-seeking.patch ip/ffmpeg: reset swr_frame_start when seeking ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0011-ip-ffmpeg-better-frame-skipping-logic.patch ip/ffmpeg: better frame skipping logic ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0012-ip-ffmpeg-don-t-process-empty-frames.patch ip/ffmpeg: don't process empty frames ihy123 <aladinandreyy@gmail.com> no 2025-08-17
0013-ip-ffmpeg-improve-readability.patch ip/ffmpeg: improve readability
Previously ffmpeg_read()'s while loop was kinda leaking into
ffmpeg_get_frame(), now it doesn't.
ihy123 <aladinandreyy@gmail.com> no 2025-08-18
0014-ip-ffmpeg-fix-building-for-ffmpeg-8.0.patch ip/ffmpeg: fix building for ffmpeg 8.0
avcodec_close() can be safely removed because avcodec_free_context()
is its replacement since 2016. See ffmpeg commit 2ef6dab0a79

Builds with v3.3.9 v4.0.6 v6.1.3 v7.1.1 v8.0
ihy123 <aladinandreyy@gmail.com> no 2025-08-24
0015-ip-ffmpeg-change-sample-format-conversions.patch ip/ffmpeg: change sample format conversions ihy123 <aladinandreyy@gmail.com> no 2025-08-25

All known versions for source package 'cmus'

Links