mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
alsa-utils: update to 1.2.10
This commit is contained in:
parent
8bfd54e699
commit
b9a7528c34
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user