gentoo-ebuilds/media-sound/jack-keyboard/files/jack-keyboard-2.7.2-no-lash-warning.patch
Andreas Sturmlechner 97da7e14c1
media-sound/jack-keyboard: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/957743
Closes: https://bugs.gentoo.org/957744
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-09-30 20:29:36 +02:00

22 lines
886 B
Diff

Source: https://salsa.debian.org/multimedia-team/jack-keyboard/-/blob/master/debian/patches/2001-hide_no_lash_warning.patch
Description: Don't show an error dialog, just print a warning to the stderr.
We're going to drop LASH in favor of ladish, so such dialog will be
inappropriate.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
src/jack-keyboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- jack-keyboard.orig/src/jack-keyboard.c
+++ jack-keyboard/src/jack-keyboard.c
@@ -947,7 +947,7 @@ init_lash(lash_args_t *args)
lash_client = lash_init(args, PACKAGE_NAME, LASH_Config_Data_Set, LASH_PROTOCOL(2, 0));
if (!lash_server_connected(lash_client)) {
- g_critical("Cannot initialize LASH. Continuing anyway.");
+ fprintf(stderr, "jack-keyboard: Cannot initialize LASH. Continuing anyway.\n");
/* exit(EX_UNAVAILABLE); */
return;