Merge pull request #8095 from heitbaum/alsa

Alsa update to 1.2.10
This commit is contained in:
Christian Hewitt 2023-09-02 08:51:42 +04:00 committed by GitHub
commit 27d9e7b9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 76 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="alsa-lib"
PKG_VERSION="1.2.9"
PKG_SHA256="dc9c643fdc4ccfd0572cc685858dd41e08afb583f30460b317e4188275f615b2"
PKG_VERSION="1.2.10"
PKG_SHA256="c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e"
PKG_LICENSE="GPL"
PKG_SITE="https://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/lib/alsa-lib-${PKG_VERSION}.tar.bz2"

View File

@ -2,8 +2,8 @@
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="alsa-ucm-conf"
PKG_VERSION="1.2.9"
PKG_SHA256="374f6833bfd77d0a4675e4aa2bfb79defe850e5a46a5d4542a45962f4b9e272a"
PKG_VERSION="1.2.10"
PKG_SHA256="9c21e3f01ff00baa758df17e867cd36e24ebb41a6bec49737e99105e16f2ae97"
PKG_LICENSE="BSD-3c"
PKG_SITE="https://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/lib/alsa-ucm-conf-${PKG_VERSION}.tar.bz2"

View File

@ -3,8 +3,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="alsa-utils"
PKG_VERSION="1.2.9"
PKG_SHA256="e7623d4525595f92e11ce25ee9a97f2040a14c6e4dcd027aa96e06cbce7817bd"
PKG_VERSION="1.2.10"
PKG_SHA256="104b62ec7f02a7ce16ca779f4815616df1cc21933503783a9107b5944f83063a"
PKG_LICENSE="GPL"
PKG_SITE="https://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/utils/alsa-utils-${PKG_VERSION}.tar.bz2"

View File

@ -1,34 +0,0 @@
From 44636a7c5862538def0d2fac074772cc39a22a15 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Tue, 16 May 2023 02:27:59 +1000
Subject: [PATCH] alsactl: fix compilation when building in a subdir
Fixes: 613372d
Fixes: cff2d1c
Compile errors when building in a subdir:
alsactl/alsactl.c:33:10: fatal error: os_compat.h: No such file or directory
33 | #include "os_compat.h"
| ^~~~~~~~~~~~~
alsactl/lock.c:34:10: fatal error: os_compat.h: No such file or directory
34 | #include "os_compat.h"
| ^~~~~~~~~~~~~
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
---
alsactl/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/alsactl/Makefile.am b/alsactl/Makefile.am
index 80dba69d..fb32c4f3 100644
--- a/alsactl/Makefile.am
+++ b/alsactl/Makefile.am
@@ -9,6 +9,8 @@ EXTRA_DIST=alsactl.1 alsactl_init.xml
AM_CFLAGS = -D_GNU_SOURCE
+AM_CPPFLAGS = -I$(top_srcdir)/include
+
alsactl_SOURCES=alsactl.c state.c lock.c utils.c init_parse.c init_ucm.c \
daemon.c monitor.c clean.c info.c

View File

@ -1,36 +0,0 @@
From f912b09ec2737e4a479396f4696f7a97213fd3d0 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Sat, 22 Jul 2023 15:36:09 +0000
Subject: [PATCH] alsactl: add define to compile with glibc 2.38
strlcat and strlcpy have been added to glibc 2.38.
update the defines to use the glibc versions, and not conflict with
string.h.
ref:
- https://sourceware.org/git/?p=glibc.git;a=commit;h=454a20c8756c9c1d55419153255fc7692b3d2199
---
alsactl/init_sysdeps.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/alsactl/init_sysdeps.c b/alsactl/init_sysdeps.c
index 3aca1b4..f09b1ae 100644
--- a/alsactl/init_sysdeps.c
+++ b/alsactl/init_sysdeps.c
@@ -18,6 +18,7 @@
*/
#if defined(__GLIBC__) && !(defined(__UCLIBC__) && defined(__USE_BSD))
+#if !(__GLIBC_PREREQ(2, 38))
static size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;
@@ -60,4 +61,5 @@ static size_t strlcat(char *dst, const char *src, size_t size)
*q = '\0';
return bytes;
}
+#endif /* !(__GLIBC_PREREQ(2, 38)) */
#endif /* __GLIBC__ */
--
2.34.1