From: michael.opdenacker@rootcommit.com
To: openembedded-core@lists.openembedded.org
Cc: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Subject: [PATCH 1/4] alsa-lib: upgrade 1.2.15 -> 1.2.15.1
Date: Sat, 3 Jan 2026 21:11:58 +0000 (UTC) [thread overview]
Message-ID: <20260103211155.51433-1-michael.opdenacker@rootcommit.com> (raw)
From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Upstream changes: various fixes
https://www.alsa-project.org/wiki/Changes_v1.2.15_v1.2.15.1
Remove no longer needed patch:
0001-ucm-use-closefrom-instead-of-close_range.patch
Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
---
...use-closefrom-instead-of-close_range.patch | 50 -------------------
...lsa-lib_1.2.15.bb => alsa-lib_1.2.15.1.bb} | 5 +-
2 files changed, 2 insertions(+), 53 deletions(-)
delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch
rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.15.bb => alsa-lib_1.2.15.1.bb} (89%)
diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch
deleted file mode 100644
index 815aca8019..0000000000
--- a/meta/recipes-multimedia/alsa/alsa-lib-1.2.15/0001-ucm-use-closefrom-instead-of-close_range.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a068cf08ad67447893b707cddfce31c9cafee643 Mon Sep 17 00:00:00 2001
-From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
-Date: Mon, 8 Dec 2025 23:46:17 -0500
-Subject: [PATCH] ucm: use closefrom instead of close_range
-
-From: Mike Gilbert <floppym@gentoo.org>
-
-closefrom is a library function with a fallback mechanism for when the
-kernel does not support the close_range syscall.
-
-Also check for the function properly instead of assuming it is available
-with _GNU_SOURCE defined.
-
-Closes: https://github.com/alsa-project/alsa-lib/pull/486
-Fixes: https://github.com/alsa-project/alsa-lib/issues/485
-Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-Upstream-Status: Backport [a068cf08ad67447893b707cddfce31c9cafee643]
----
- configure.ac | 1 +
- src/ucm/ucm_exec.c | 4 ++--
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8f4bd0de..f4862f64 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -52,6 +52,7 @@ dnl Checks for library functions.
- AC_PROG_GCC_TRADITIONAL
- AC_CHECK_FUNCS([uselocale])
- AC_CHECK_FUNCS([eaccess])
-+AC_CHECK_DECLS([closefrom])
-
- dnl Enable largefile support
- AC_SYS_LARGEFILE
-diff --git a/src/ucm/ucm_exec.c b/src/ucm/ucm_exec.c
-index b5a22023..713039b4 100644
---- a/src/ucm/ucm_exec.c
-+++ b/src/ucm/ucm_exec.c
-@@ -259,8 +259,8 @@ int uc_mgr_exec(const char *prog)
-
- close(f);
-
--#if defined(_GNU_SOURCE)
-- close_range(3, maxfd, 0);
-+#if HAVE_DECL_CLOSEFROM
-+ closefrom(3);
- #else
- for (f = 3; f < maxfd; f++)
- close(f);
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.2.15.1.bb
similarity index 89%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.2.15.1.bb
index 6ecdeefa46..f3dfd3f35d 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.2.15.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.2.15.1.bb
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
"
-SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
- file://0001-ucm-use-closefrom-instead-of-close_range.patch"
-SRC_URI[sha256sum] = "83770841585e766a60c99fd23f8c574c22643ae0cb1f2d20b793c3d84eb95a8d"
+SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
+SRC_URI[sha256sum] = "7f983ca89ca420872ca16e8a9f8f97fb63db6c1c6e2585b91737a08bb03f566c"
inherit autotools pkgconfig
next reply other threads:[~2026-01-03 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-03 21:11 michael.opdenacker [this message]
2026-01-03 21:11 ` [PATCH 2/4] alsa-utils: upgrade 1.2.15 -> 1.2.15.1 michael.opdenacker
2026-01-03 21:11 ` [PATCH 3/4] alsa-ucm-conf: " michael.opdenacker
2026-01-03 21:11 ` [PATCH 4/4] alsa-utils: remove no longer needed fixup michael.opdenacker
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=20260103211155.51433-1-michael.opdenacker@rootcommit.com \
--to=michael.opdenacker@rootcommit.com \
--cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.