commit: d8ffa30700e64e4860e3c290a3288736d9c31d24 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Apr 24 23:48:31 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 24 23:48:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ffa307
media-sound/liblc3: backport typo fix Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/liblc3/files/liblc3-1.1.3-typo-fix.patch | 20 ++++++++++++++++++++ media-sound/liblc3/liblc3-1.1.3.ebuild | 4 ++++ 2 files changed, 24 insertions(+) diff --git a/media-sound/liblc3/files/liblc3-1.1.3-typo-fix.patch b/media-sound/liblc3/files/liblc3-1.1.3-typo-fix.patch new file mode 100644 index 000000000000..c16b9aacadce --- /dev/null +++ b/media-sound/liblc3/files/liblc3-1.1.3-typo-fix.patch @@ -0,0 +1,20 @@ +https://github.com/google/liblc3/commit/1de85e2d9b8f8f3dffb50f70881b3475bbdfb803 + +From 1de85e2d9b8f8f3dffb50f70881b3475bbdfb803 Mon Sep 17 00:00:00 2001 +From: anonymix007 <[email protected]> +Date: Sun, 2 Mar 2025 17:13:04 +0300 +Subject: [PATCH] fix: Typo in the lc3_frame_block_bytes function + implementation + +--- a/src/lc3.c ++++ b/src/lc3.c +@@ -122,7 +122,7 @@ LC3_EXPORT int lc3_hr_frame_block_bytes( + nchannels * lc3_max_frame_bytes(dt, sr) ); + } + +-LC3_EXPORT int lc3_frame_bock_bytes(int dt_us, int nchannels, int bitrate) ++LC3_EXPORT int lc3_frame_block_bytes(int dt_us, int nchannels, int bitrate) + { + return lc3_hr_frame_block_bytes(false, dt_us, 8000, nchannels, bitrate); + } + diff --git a/media-sound/liblc3/liblc3-1.1.3.ebuild b/media-sound/liblc3/liblc3-1.1.3.ebuild index c775c814d268..6cbf066b4e87 100644 --- a/media-sound/liblc3/liblc3-1.1.3.ebuild +++ b/media-sound/liblc3/liblc3-1.1.3.ebuild @@ -25,6 +25,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-typo-fix.patch +) + python_check_deps() { python_has_version "dev-python/numpy[${PYTHON_USEDEP}]" && python_has_version "dev-python/scipy[${PYTHON_USEDEP}]"
