distribution/packages/audio/alsa-utils/patches/alsa-utils-PR213.patch
fewtarius eb64d6d58b
* Update alsa and associated packages.
* Fix setsettings bugs - controller index and analog dpad.
* Update Linux to 6.4.5 and 6.1.41
* Add configuration for Nintendo Switch Pro Controller.
* Only enable auto mute for specific models of AYANEO Air Plus (6800U).
* Remove logo.png if it's found in ES.
2023-07-24 22:32:28 +00:00

34 lines
1 KiB
Diff

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