package/alsa-lib: Make sequencer dependent on rawmidi
PATCH 1/1 package/alsa-lib: Make sequencer dependent on rawmidi
Add upstream patch and adjust dependency to fix build error.
Fixes:
http://autobuild.buildroot.net/results/9a5/9a53d3c1411699f581e3a90d7f517fcb6b9e3de0/
--- ...-Make-sequencer-dependent-on-rawmidi.patch | 35 +++++++++++++++++++ package/alsa-lib/Config.in | 1 + 2 files changed, 36 insertions(+) create mode 100644 package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch
package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch new file +35 -0
@@ -0,0 +1,35 @@ +From: Takashi Iwai <[email protected]> +Date: Sun, 24 Nov 2024 08:32:29 +0000 (+0100) +Subject: configure: Make sequencer dependent on rawmidi +X-Git-Url: https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff_plain;h=6880219ad4ba55ae8a94a34b7a987b3369f7c96f + +configure: Make sequencer dependent on rawmidi + +The sequencer feature requires rawmidi implicitly, and it became more +obvious with UMP support. Add the dependency check to configure +script. + +Signed-off-by: Takashi Iwai <[email protected]> + +Upstream: https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=6880219ad4ba55ae8a94a34b7a987b3369f7c96f + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + +diff --git a/configure.ac b/configure.ac +index 1cd22a59..69aeb978 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -483,6 +483,12 @@ fi + AC_SUBST(PYTHON_LIBS) + AC_SUBST(PYTHON_INCLUDES) + ++if test "$build_rawmidi" != "yes"; then ++ if test "$build_seq" = "yes"; then ++ AC_ERROR([Cannot enable sequencer without rawmidi]) ++ fi ++fi ++ + AM_CONDITIONAL([BUILD_MIXER], [test x$build_mixer = xyes]) + AM_CONDITIONAL([BUILD_PCM], [test x$build_pcm = xyes]) + AM_CONDITIONAL([BUILD_RAWMIDI], [test x$build_rawmidi = xyes])
package/alsa-lib/Config.in +1 -0
@@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_LIB_HWDEP config BR2_PACKAGE_ALSA_LIB_SEQ bool "seq" default y + select BR2_PACKAGE_ALSA_LIB_RAWMIDI config BR2_PACKAGE_ALSA_LIB_UCM bool "ucm"
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 6 lines · Bernd Kuhls
Add upstream patch and adjust dependency to fix build error.
Fixes:
http://autobuild.buildroot.net/results/9a5/9a53d3c1411699f581e3a90d7f517fcb6b9e3de0/Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks.
Quoted 66 lines
--- ...-Make-sequencer-dependent-on-rawmidi.patch | 35 +++++++++++++++++++ package/alsa-lib/Config.in | 1 + 2 files changed, 36 insertions(+) create mode 100644
package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch(quoted diff) +0
-0
b/package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patchpackage/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch new file +4
-0@@ -0,0 +1,35 @@ +From: Takashi Iwai <[email protected]> +Date: Sun, 24 Nov 2024 08:32:29 +0000 (+0100) +Subject: configure: Make sequencer dependent on rawmidi +X-Git-Url:package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch new file +10
-0+ +configure: Make sequencer dependent on rawmidi + +The sequencer feature requires rawmidi implicitly, and it became more +obvious with UMP support. Add the dependency check to configure +script. + +Signed-off-by: Takashi Iwai <[email protected]> + +Upstream:https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=6880219ad4ba55ae8a94a34b7a987b3369f7c96f
package/alsa-lib/0002-configure-Make-sequencer-dependent-on-rawmidi.patch new file +21
-0+ +Signed-off-by: Bernd Kuhls <[email protected]> +--- + +diff --git a/configure.ac b/configure.ac +index 1cd22a59..69aeb978 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -483,6 +483,12 @@ fi + AC_SUBST(PYTHON_LIBS) + AC_SUBST(PYTHON_INCLUDES) + ++if test "$build_rawmidi" != "yes"; then ++ if test "$build_seq" = "yes"; then ++ AC_ERROR([Cannot enable sequencer without rawmidi]) ++ fi ++fi ++ + AM_CONDITIONAL([BUILD_MIXER], [test x$build_mixer = xyes]) + AM_CONDITIONAL([BUILD_PCM], [test x$build_pcm = xyes]) + AM_CONDITIONAL([BUILD_RAWMIDI], [test x$build_rawmidi = xyes])package/alsa-lib/Config.in +1
-1@@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_LIB_HWDEP config BR2_PACKAGE_ALSA_LIB_SEQ bool "seq" default y + select BR2_PACKAGE_ALSA_LIB_RAWMIDI config BR2_PACKAGE_ALSA_LIB_UCM bool "ucm" --2.39.5
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot