Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alsa-tools for openSUSE:Factory 
checked in at 2024-02-04 19:07:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa-tools (Old)
 and      /work/SRC/openSUSE:Factory/.alsa-tools.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa-tools"

Sun Feb  4 19:07:41 2024 rev:83 rq:1143692 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa-tools/alsa-tools.changes    2024-01-30 
18:25:32.642221214 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-tools.new.1815/alsa-tools.changes  
2024-02-04 19:07:51.477703550 +0100
@@ -1,0 +2,11 @@
+Fri Feb  2 15:04:27 UTC 2024 - Takashi Iwai <ti...@suse.com>
+
+- Update to version 1.2.11:
+  * hdajackretask: resolution limit for wide screen, pipewire support
+  * hdspmixer: fix coredump
+   For details, see:
+    https://www.alsa-project.org/wiki/Changes_v1.2.10_v1.2.11#alsa-tools
+- Fix build with gcc7:
+  0001-hdajackretask-Fix-build-with-gcc7.patch
+
+-------------------------------------------------------------------

Old:
----
  alsa-tools-1.2.5.tar.bz2
  alsa-tools-1.2.5.tar.bz2.sig

New:
----
  0001-hdajackretask-Fix-build-with-gcc7.patch
  alsa-tools-1.2.11.tar.bz2
  alsa-tools-1.2.11.tar.bz2.sig

BETA DEBUG BEGIN:
  New:- Fix build with gcc7:
  0001-hdajackretask-Fix-build-with-gcc7.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa-tools.spec ++++++
--- /var/tmp/diff_new_pack.8NyQkx/_old  2024-02-04 19:07:52.625744919 +0100
+++ /var/tmp/diff_new_pack.8NyQkx/_new  2024-02-04 19:07:52.629745063 +0100
@@ -23,7 +23,7 @@
 %define have_gtk3      0
 %endif
 Name:           alsa-tools
-Version:        1.2.5
+Version:        1.2.11
 Release:        0
 Summary:        Various ALSA Tools
 License:        GPL-2.0-or-later
@@ -36,6 +36,8 @@
 Source4:        sbipatches.tar.bz2
 Source5:        rmedigicontrol.desktop
 Source7:        rmedigicontrol.png
+# upstream fixes
+Patch1:         0001-hdajackretask-Fix-build-with-gcc7.patch
 # build fixes
 Patch101:       alsa-tools-no_m4_dir.dif
 BuildRequires:  alsa-devel
@@ -297,6 +299,7 @@
 
 %prep
 %setup -q -a 4
+%patch1 -p1
 cp %{SOURCE3} .
 %patch101 -p1
 

++++++ 0001-hdajackretask-Fix-build-with-gcc7.patch ++++++
>From 54b5913cd53f361ee84cb5f7412f7801e5d7b1c9 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <ti...@suse.de>
Date: Fri, 2 Feb 2024 17:19:47 +0100
Subject: [PATCH] hdajackretask: Fix build with gcc7

The old compiler doesn't allow a variable declaration inside switch
block.

Fixes: d349d20c127b ("hdajackretask: add support for pipewire stop/start")
Signed-off-by: Takashi Iwai <ti...@suse.de>
---
 hdajackretask/apply-changes.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hdajackretask/apply-changes.c b/hdajackretask/apply-changes.c
index 0d558f76f106..381ccf2516d0 100644
--- a/hdajackretask/apply-changes.c
+++ b/hdajackretask/apply-changes.c
@@ -213,9 +213,11 @@ cleanup:
 static gboolean restore_soundserver(struct soundserver* state, GError** err)
 {
     gboolean ok = FALSE;
+    gchar* clientconf;
+
     switch (state->type) {
         case PULSEAUDIO:
-            gchar* clientconf = get_pulseaudio_client_conf();
+            clientconf = get_pulseaudio_client_conf();
             if (state->was_killed && g_unlink(clientconf) != 0) {
                 g_set_error(err, quark(), 0, "%s", g_strerror(errno));
                 g_free(clientconf);
-- 
2.35.3


++++++ alsa-tools-1.2.5.tar.bz2 -> alsa-tools-1.2.11.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/Makefile 
new/alsa-tools-1.2.11/Makefile
--- old/alsa-tools-1.2.5/Makefile       2021-05-27 22:09:02.000000000 +0200
+++ new/alsa-tools-1.2.11/Makefile      2024-01-29 14:09:41.000000000 +0100
@@ -1,4 +1,4 @@
-VERSION = 1.2.5
+VERSION = 1.2.11
 TOP = .
 SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
          mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/as10k1/as10k1.h 
new/alsa-tools-1.2.11/as10k1/as10k1.h
--- old/alsa-tools-1.2.5/as10k1/as10k1.h        2021-05-27 19:18:38.000000000 
+0200
+++ new/alsa-tools-1.2.11/as10k1/as10k1.h       2024-01-29 13:57:31.000000000 
+0100
@@ -55,6 +55,6 @@
 int gpr_constant_count=0;
 
 char patch_name[PATCH_NAME_SIZE]="NO_NAME";
-int macro_depth=0;
+unsigned int macro_depth=0;
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/echomixer/echomixer.c 
new/alsa-tools-1.2.11/echomixer/echomixer.c
--- old/alsa-tools-1.2.5/echomixer/echomixer.c  2021-05-27 19:18:38.000000000 
+0200
+++ new/alsa-tools-1.2.11/echomixer/echomixer.c 2024-01-29 13:57:31.000000000 
+0100
@@ -2105,7 +2105,7 @@
     for (i=0; i<ndmodes; i++) {
       menuitem=gtk_menu_item_new_with_label(dmodeName[i]);
       gtk_widget_show(menuitem);
-      gtk_signal_connect(GTK_OBJECT(menuitem), "activate", 
Digital_mode_activate, (gpointer)(long)i);
+      gtk_signal_connect(GTK_OBJECT(menuitem), "activate", 
G_CALLBACK(Digital_mode_activate), (gpointer)(long)i);
       gtk_menu_append(GTK_MENU(menu), menuitem);
     }
     gtk_option_menu_set_menu(GTK_OPTION_MENU(dmodeOpt), menu);
@@ -2131,7 +2131,7 @@
       clocksrc_menuitem[i]=gtk_menu_item_new_with_label(clocksrcName[i]);
       gtk_widget_show(clocksrc_menuitem[i]);
       gtk_widget_set_sensitive(clocksrc_menuitem[i], FALSE);
-      gtk_signal_connect(GTK_OBJECT(clocksrc_menuitem[i]), "activate", 
Clock_source_activate, (gpointer)(long)i);
+      gtk_signal_connect(GTK_OBJECT(clocksrc_menuitem[i]), "activate", 
G_CALLBACK(Clock_source_activate), (gpointer)(long)i);
       gtk_menu_append(GTK_MENU(menu), clocksrc_menuitem[i]);
     }
     gtk_option_menu_set_menu(GTK_OPTION_MENU(clocksrcOpt), menu);
@@ -2157,7 +2157,7 @@
     for (i=0; i<nspdifmodes; i++) {
       menuitem=gtk_menu_item_new_with_label(spdifmodeName[i]);
       gtk_widget_show(menuitem);
-      gtk_signal_connect(GTK_OBJECT(menuitem), "activate", 
SPDIF_mode_activate, (gpointer)(long)i);
+      gtk_signal_connect(GTK_OBJECT(menuitem), "activate", 
G_CALLBACK(SPDIF_mode_activate), (gpointer)(long)i);
       gtk_menu_append(GTK_MENU(menu), menuitem);
     }
     gtk_option_menu_set_menu(GTK_OPTION_MENU(spdifmodeOpt), menu);
@@ -2182,7 +2182,7 @@
       gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
       ReadControl(&i, 1, PhantomPower.id, SND_CTL_ELEM_IFACE_MIXER);
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), i);
-      gtk_signal_connect(GTK_OBJECT(button), "toggled", Switch_toggled, 
(gpointer)&PhantomPower);
+      gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(Switch_toggled), (gpointer)&PhantomPower);
       PhantomPower.Button=button;
     }
 
@@ -2193,7 +2193,7 @@
       gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
       ReadControl(&i, 1, Automute.id, SND_CTL_ELEM_IFACE_CARD);
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), i);
-      gtk_signal_connect(GTK_OBJECT(button), "toggled", Switch_toggled, 
(gpointer)&Automute);
+      gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(Switch_toggled), (gpointer)&Automute);
       Automute.Button=button;
     }
 
@@ -2202,7 +2202,7 @@
       autoclockChkbutton=gtk_check_button_new_with_label("Autoclock");
       gtk_widget_show(autoclockChkbutton);
       gtk_box_pack_start(GTK_BOX(hbox), autoclockChkbutton, TRUE, FALSE, 0);
-      gtk_signal_connect(GTK_OBJECT(autoclockChkbutton), "toggled", 
AutoClock_toggled, NULL);
+      gtk_signal_connect(GTK_OBJECT(autoclockChkbutton), "toggled", 
G_CALLBACK(AutoClock_toggled), NULL);
       AutoClock=-1;
     }
   }
@@ -2672,7 +2672,7 @@
   gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0);
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), 1);
   gtk_widget_show(button);
-  gtk_signal_connect(GTK_OBJECT(button), "toggled", Gang_button_toggled, 0);
+  gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(Gang_button_toggled), 0);
 
   // Controls frame
   frame=gtk_frame_new("Controls");
@@ -2687,7 +2687,7 @@
     button=gtk_toggle_button_new_with_label("VU");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", VUmeters_button_click, 
0);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(VUmeters_button_click), 0);
     VUw_geom.toggler=button;
     if (VUw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2697,7 +2697,7 @@
   button=gtk_toggle_button_new_with_label("Line");
   gtk_widget_show(button);
   gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-  gtk_signal_connect(GTK_OBJECT(button), "toggled", ToggleWindow, 
(gpointer)LVwindow);
+  gtk_signal_connect(GTK_OBJECT(button), "toggled", G_CALLBACK(ToggleWindow), 
(gpointer)LVwindow);
   LVw_geom.toggler=button;
   if (LVw_geom.st==1)
     gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2707,7 +2707,7 @@
     button=gtk_toggle_button_new_with_label("Misc");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", ToggleWindow, 
(gpointer)Miscwindow);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(ToggleWindow), (gpointer)Miscwindow);
     Miscw_geom.toggler=button;
     if (Miscw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2718,7 +2718,7 @@
     button=gtk_toggle_button_new_with_label("GrMix");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", GMixer_button_click, 0);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(GMixer_button_click), 0);
     GMw_geom.toggler=button;
     if (GMw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2727,7 +2727,7 @@
     button=gtk_toggle_button_new_with_label("Mixer");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", ToggleWindow, 
(gpointer)mixerControl.window);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(ToggleWindow), (gpointer)mixerControl.window);
     Mixerw_geom.toggler=button;
     if (Mixerw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2738,7 +2738,7 @@
     button=gtk_toggle_button_new_with_label("Vmixer");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", ToggleWindow, 
(gpointer)vmixerControl.window);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(ToggleWindow), (gpointer)vmixerControl.window);
     Vmixerw_geom.toggler=button;
     if (Vmixerw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
@@ -2749,7 +2749,7 @@
     button=gtk_toggle_button_new_with_label("PCM");
     gtk_widget_show(button);
     gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 1);
-    gtk_signal_connect(GTK_OBJECT(button), "toggled", ToggleWindow, 
(gpointer)pcmoutControl.window);
+    gtk_signal_connect(GTK_OBJECT(button), "toggled", 
G_CALLBACK(ToggleWindow), (gpointer)pcmoutControl.window);
     PVw_geom.toggler=button;
     if (PVw_geom.st==1)
       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdajackretask/README 
new/alsa-tools-1.2.11/hdajackretask/README
--- old/alsa-tools-1.2.5/hdajackretask/README   2021-05-27 19:18:38.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdajackretask/README  2024-01-29 13:57:31.000000000 
+0100
@@ -51,4 +51,4 @@
 
http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/high-definition-audio-specification.pdf
 )
 
  * Parser hints
-This enables you to send special "hints" to the driver that causes parsing to 
behave differently. Leave them at the "default" setting unless you have read 
the driver documentation. ( Which, at the time of this writing, is available 
here: https://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio.txt - see 
the "Hint strings" section. )
+This enables you to send special "hints" to the driver that causes parsing to 
behave differently. Leave them at the "default" setting unless you have read 
the driver documentation. ( Which, at the time of this writing, is available 
here: https://www.kernel.org/doc/Documentation/sound/hd-audio/notes.rst - see 
the "Hint strings" section. )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdajackretask/apply-changes.c 
new/alsa-tools-1.2.11/hdajackretask/apply-changes.c
--- old/alsa-tools-1.2.5/hdajackretask/apply-changes.c  2021-05-27 
19:18:38.000000000 +0200
+++ new/alsa-tools-1.2.11/hdajackretask/apply-changes.c 2024-01-29 
13:57:31.000000000 +0100
@@ -15,6 +15,15 @@
 static gchar* scriptfile = NULL;
 static gchar* errorfile = NULL;
 
+struct soundserver {
+    enum {
+        PULSEAUDIO,
+        PIPEWIRE
+    } type;
+    gboolean was_killed;
+    gchar *user;
+};
+
 static GQuark quark()
 {
     return g_quark_from_static_string("hda-jack-retask-error");
@@ -125,33 +134,73 @@
     return fname;
 }
 
-static gboolean kill_pulseaudio(gboolean* was_killed, int card, GError** err)
+static gboolean call_systemctl(gchar* user, gchar* operation, gchar *unit, 
GError **err)
+{
+    gchar* s;
+    gboolean ok;
+
+    if (getuid() == 0) {
+        // special case for root
+        // XDG_RUNTIME_DIR setup seems to be mandatory for Fedora, may differ 
for other distros
+        s = g_strdup_printf("runuser -l %s -c 
'XDG_RUNTIME_DIR=/var/run/user/$(id -u) systemctl --user %s %s'", user, 
operation, unit);
+    } else {
+        s = g_strdup_printf("systemctl --user %s %s", operation, unit);
+    }
+    ok = g_spawn_command_line_sync(s, NULL, NULL, NULL, err);
+    g_free(s);
+    return ok;
+}
+
+static gboolean kill_soundserver(struct soundserver* state, int card, GError** 
err)
 {
     gchar* fuser = NULL, *fuser2 = NULL;
     gchar* s = NULL;
     gchar* clientconf = NULL;
     gboolean ok;
-    *was_killed = FALSE;
+    char *p;
+    state->type = PULSEAUDIO;
+    state->was_killed = FALSE;
+    state->user = NULL;
     /* Is PA having a lock on the sound card? */
     s = g_strdup_printf("fuser -v /dev/snd/controlC%d", card);
     /* Due to some bug in fuser, stdout and stderr output is unclear. Better 
check both. */
     if (!(ok = g_spawn_command_line_sync(s, &fuser, &fuser2, NULL, err))) 
         goto cleanup;
-    if ((ok = strstr(fuser, "pulseaudio") == NULL && strstr(fuser2, 
"pulseaudio") == NULL))
-        goto cleanup; // PulseAudio not locking the sound card
-
-    clientconf = get_pulseaudio_client_conf();
-    if (!(ok = !g_file_test(clientconf, G_FILE_TEST_EXISTS))) {
-        g_set_error(err, quark(), 0, "Cannot block PulseAudio from 
respawning:\n"
-            "Please either remove '%s' or kill PulseAudio manually.", 
clientconf);
-        goto cleanup;
+    if (strstr(fuser, "pulseaudio") != NULL || strstr(fuser2, "pulseaudio") != 
NULL) {
+        clientconf = get_pulseaudio_client_conf();
+        if (!(ok = !g_file_test(clientconf, G_FILE_TEST_EXISTS))) {
+            g_set_error(err, quark(), 0, "Cannot block PulseAudio from 
respawning:\n"
+                "Please either remove '%s' or kill PulseAudio manually.", 
clientconf);
+            goto cleanup;
+        }
+        
+        if (!(ok = g_file_set_contents(clientconf, "autospawn=no\n", -1, err)))
+            goto cleanup;
+        state->was_killed = TRUE;
+        ok = g_spawn_command_line_sync("pulseaudio -k", NULL, NULL, NULL, err);
+    } else if ((p = strstr(fuser, "wireplumber")) != NULL || (p = 
strstr(fuser2, "wireplumber")) != NULL) {
+        *p = '\0';
+        while (p != fuser && p != fuser2 && *p != '\n')
+            p--;
+        if (*p == '\n')
+            p++;
+        
+        GRegex *regex;
+        GMatchInfo *match_info;
+
+        regex = g_regex_new (" ([a-zA-Z0-9_-]+) ", G_REGEX_DEFAULT, 
G_REGEX_MATCH_DEFAULT, NULL);
+        g_regex_match (regex, p, 0, &match_info);
+        if (g_match_info_matches (match_info))
+            state->user = g_match_info_fetch (match_info, 1);
+        g_match_info_free (match_info);
+        g_regex_unref (regex);
+        
+        state->type = PIPEWIRE;
+        ok = call_systemctl(state->user, "stop", "wireplumber.service", err);
+        state->was_killed = ok;
+    } else {
+        // Sound server not locking the sound card
     }
-    
-    if (!(ok = g_file_set_contents(clientconf, "autospawn=no\n", -1, err)))
-        goto cleanup;
-
-    *was_killed = TRUE;
-    ok = g_spawn_command_line_sync("pulseaudio -k", NULL, NULL, NULL, err);
 
 cleanup:
     g_free(clientconf);
@@ -161,16 +210,32 @@
     return ok;
 }
 
-static gboolean restore_pulseaudio(gboolean was_killed, GError** err) 
+static gboolean restore_soundserver(struct soundserver* state, GError** err)
 {
-    gchar* clientconf = get_pulseaudio_client_conf();
-    if (was_killed && g_unlink(clientconf) != 0) {
-        g_set_error(err, quark(), 0, "%s", g_strerror(errno));
-        g_free(clientconf);
-        return FALSE;
+    gboolean ok = FALSE;
+    switch (state->type) {
+        case PULSEAUDIO:
+            gchar* clientconf = get_pulseaudio_client_conf();
+            if (state->was_killed && g_unlink(clientconf) != 0) {
+                g_set_error(err, quark(), 0, "%s", g_strerror(errno));
+                g_free(clientconf);
+                goto cleanup;
+            }
+            g_free(clientconf);
+            ok = TRUE;
+            break;
+        case PIPEWIRE:
+            if (state->was_killed)
+                ok = call_systemctl(state->user, "start", 
"wireplumber.service", err);
+            else
+                ok = TRUE;
+            break;
     }
-    g_free(clientconf);
-    return TRUE;
+
+cleanup:
+    g_free(state->user);
+    state->user = NULL;
+    return ok;
 }
 
 gboolean apply_changes_reconfig(pin_configs_t* pins, int entries, int card, 
int device, 
@@ -178,10 +243,10 @@
 {
     gboolean result = FALSE;
 //    gchar* script_name = NULL;
-    gboolean pa_killed = FALSE;
+    struct soundserver state = { 0 };
     /* Check for users of the sound card */
     /* Kill pulseaudio if necessary (and possible) */
-    if (!kill_pulseaudio(&pa_killed, card, err))
+    if (!kill_soundserver(&state, card, err))
         goto cleanup;
     /* Create script */
     if (!create_reconfig_script(pins, entries, card, device, model, hints, 
err))
@@ -191,7 +256,7 @@
         goto cleanup;
     result = TRUE;
 cleanup:
-    if (!restore_pulseaudio(pa_killed, result ? err : NULL)) {
+    if (!restore_soundserver(&state, result ? err : NULL)) {
         result = FALSE;
     }
 //    g_free(script_name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdajackretask/main-gtk.c 
new/alsa-tools-1.2.11/hdajackretask/main-gtk.c
--- old/alsa-tools-1.2.5/hdajackretask/main-gtk.c       2021-05-27 
19:18:38.000000000 +0200
+++ new/alsa-tools-1.2.11/hdajackretask/main-gtk.c      2024-01-29 
13:57:31.000000000 +0100
@@ -519,7 +519,7 @@
         int neww = screen ? (gdk_screen_get_width(screen)*3)/4 : 800;
         int newh = screen ? (gdk_screen_get_height(screen)*3)/4 : 600;
         
-        gtk_window_set_default_size(GTK_WINDOW(dlg), neww, newh);
+        gtk_window_set_default_size(GTK_WINDOW(dlg), MIN(1600, neww), 
MIN(1000, newh));
     }
 
     gtk_dialog_run(dlg);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdspconf/aclocal.m4 
new/alsa-tools-1.2.11/hdspconf/aclocal.m4
--- old/alsa-tools-1.2.5/hdspconf/aclocal.m4    2021-05-27 22:07:44.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdspconf/aclocal.m4   2024-01-29 14:07:59.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdspconf/configure 
new/alsa-tools-1.2.11/hdspconf/configure
--- old/alsa-tools-1.2.5/hdspconf/configure     2021-05-27 22:07:45.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdspconf/configure    2024-01-29 14:08:00.000000000 
+0100
@@ -4843,6 +4843,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4915,6 +4916,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdsploader/aclocal.m4 
new/alsa-tools-1.2.11/hdsploader/aclocal.m4
--- old/alsa-tools-1.2.5/hdsploader/aclocal.m4  2021-05-27 22:07:41.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdsploader/aclocal.m4 2024-01-29 14:07:55.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdsploader/configure 
new/alsa-tools-1.2.11/hdsploader/configure
--- old/alsa-tools-1.2.5/hdsploader/configure   2021-05-27 22:07:42.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdsploader/configure  2024-01-29 14:07:56.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdspmixer/aclocal.m4 
new/alsa-tools-1.2.11/hdspmixer/aclocal.m4
--- old/alsa-tools-1.2.5/hdspmixer/aclocal.m4   2021-05-27 22:07:49.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdspmixer/aclocal.m4  2024-01-29 14:08:04.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdspmixer/configure 
new/alsa-tools-1.2.11/hdspmixer/configure
--- old/alsa-tools-1.2.5/hdspmixer/configure    2021-05-27 22:07:50.000000000 
+0200
+++ new/alsa-tools-1.2.11/hdspmixer/configure   2024-01-29 14:08:05.000000000 
+0100
@@ -4837,6 +4837,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4909,6 +4910,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/hdspmixer/src/hdspmixer.cxx 
new/alsa-tools-1.2.11/hdspmixer/src/hdspmixer.cxx
--- old/alsa-tools-1.2.5/hdspmixer/src/hdspmixer.cxx    2021-05-27 
19:18:38.000000000 +0200
+++ new/alsa-tools-1.2.11/hdspmixer/src/hdspmixer.cxx   2024-01-29 
13:57:31.000000000 +0100
@@ -39,7 +39,7 @@
 {
     HDSPMixerWindow *window;
     HDSPMixerCard *hdsp_cards[3];
-    char *name, *shortname;
+    char *name = NULL, *shortname;
     int card;
     int cards = 0;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/ld10k1/aclocal.m4 
new/alsa-tools-1.2.11/ld10k1/aclocal.m4
--- old/alsa-tools-1.2.5/ld10k1/aclocal.m4      2021-05-27 22:08:29.000000000 
+0200
+++ new/alsa-tools-1.2.11/ld10k1/aclocal.m4     2024-01-29 14:08:46.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/ld10k1/configure 
new/alsa-tools-1.2.11/ld10k1/configure
--- old/alsa-tools-1.2.5/ld10k1/configure       2021-05-27 22:08:30.000000000 
+0200
+++ new/alsa-tools-1.2.11/ld10k1/configure      2024-01-29 14:08:46.000000000 
+0100
@@ -13059,6 +13059,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -13131,6 +13132,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/mixartloader/aclocal.m4 
new/alsa-tools-1.2.11/mixartloader/aclocal.m4
--- old/alsa-tools-1.2.5/mixartloader/aclocal.m4        2021-05-27 
22:07:53.000000000 +0200
+++ new/alsa-tools-1.2.11/mixartloader/aclocal.m4       2024-01-29 
14:08:08.000000000 +0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/mixartloader/configure 
new/alsa-tools-1.2.11/mixartloader/configure
--- old/alsa-tools-1.2.5/mixartloader/configure 2021-05-27 22:07:54.000000000 
+0200
+++ new/alsa-tools-1.2.11/mixartloader/configure        2024-01-29 
14:08:09.000000000 +0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/pcxhrloader/aclocal.m4 
new/alsa-tools-1.2.11/pcxhrloader/aclocal.m4
--- old/alsa-tools-1.2.5/pcxhrloader/aclocal.m4 2021-05-27 22:07:56.000000000 
+0200
+++ new/alsa-tools-1.2.11/pcxhrloader/aclocal.m4        2024-01-29 
14:08:11.000000000 +0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/pcxhrloader/configure 
new/alsa-tools-1.2.11/pcxhrloader/configure
--- old/alsa-tools-1.2.5/pcxhrloader/configure  2021-05-27 22:07:57.000000000 
+0200
+++ new/alsa-tools-1.2.11/pcxhrloader/configure 2024-01-29 14:08:12.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/sb16_csp/aclocal.m4 
new/alsa-tools-1.2.11/sb16_csp/aclocal.m4
--- old/alsa-tools-1.2.5/sb16_csp/aclocal.m4    2021-05-27 22:08:02.000000000 
+0200
+++ new/alsa-tools-1.2.11/sb16_csp/aclocal.m4   2024-01-29 14:08:17.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/sb16_csp/configure 
new/alsa-tools-1.2.11/sb16_csp/configure
--- old/alsa-tools-1.2.5/sb16_csp/configure     2021-05-27 22:08:03.000000000 
+0200
+++ new/alsa-tools-1.2.11/sb16_csp/configure    2024-01-29 14:08:18.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/seq/sbiload/aclocal.m4 
new/alsa-tools-1.2.11/seq/sbiload/aclocal.m4
--- old/alsa-tools-1.2.5/seq/sbiload/aclocal.m4 2021-05-27 22:08:05.000000000 
+0200
+++ new/alsa-tools-1.2.11/seq/sbiload/aclocal.m4        2024-01-29 
14:08:20.000000000 +0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/seq/sbiload/configure 
new/alsa-tools-1.2.11/seq/sbiload/configure
--- old/alsa-tools-1.2.5/seq/sbiload/configure  2021-05-27 22:08:06.000000000 
+0200
+++ new/alsa-tools-1.2.11/seq/sbiload/configure 2024-01-29 14:08:21.000000000 
+0100
@@ -4138,6 +4138,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4210,6 +4211,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/sscape_ctl/aclocal.m4 
new/alsa-tools-1.2.11/sscape_ctl/aclocal.m4
--- old/alsa-tools-1.2.5/sscape_ctl/aclocal.m4  2021-05-27 22:08:08.000000000 
+0200
+++ new/alsa-tools-1.2.11/sscape_ctl/aclocal.m4 2024-01-29 14:08:23.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/sscape_ctl/configure 
new/alsa-tools-1.2.11/sscape_ctl/configure
--- old/alsa-tools-1.2.5/sscape_ctl/configure   2021-05-27 22:08:09.000000000 
+0200
+++ new/alsa-tools-1.2.11/sscape_ctl/configure  2024-01-29 14:08:24.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/us428control/aclocal.m4 
new/alsa-tools-1.2.11/us428control/aclocal.m4
--- old/alsa-tools-1.2.5/us428control/aclocal.m4        2021-05-27 
22:08:11.000000000 +0200
+++ new/alsa-tools-1.2.11/us428control/aclocal.m4       2024-01-29 
14:08:26.000000000 +0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/us428control/configure 
new/alsa-tools-1.2.11/us428control/configure
--- old/alsa-tools-1.2.5/us428control/configure 2021-05-27 22:08:12.000000000 
+0200
+++ new/alsa-tools-1.2.11/us428control/configure        2024-01-29 
14:08:27.000000000 +0100
@@ -4602,6 +4602,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4674,6 +4675,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/usx2yloader/aclocal.m4 
new/alsa-tools-1.2.11/usx2yloader/aclocal.m4
--- old/alsa-tools-1.2.5/usx2yloader/aclocal.m4 2021-05-27 22:08:15.000000000 
+0200
+++ new/alsa-tools-1.2.11/usx2yloader/aclocal.m4        2024-01-29 
14:08:30.000000000 +0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/usx2yloader/configure 
new/alsa-tools-1.2.11/usx2yloader/configure
--- old/alsa-tools-1.2.5/usx2yloader/configure  2021-05-27 22:08:15.000000000 
+0200
+++ new/alsa-tools-1.2.11/usx2yloader/configure 2024-01-29 14:08:30.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/vxloader/aclocal.m4 
new/alsa-tools-1.2.11/vxloader/aclocal.m4
--- old/alsa-tools-1.2.5/vxloader/aclocal.m4    2021-05-27 22:08:17.000000000 
+0200
+++ new/alsa-tools-1.2.11/vxloader/aclocal.m4   2024-01-29 14:08:32.000000000 
+0100
@@ -107,6 +107,7 @@
 AC_MSG_CHECKING([for libasound headers version >= 
$alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version 
($min_alsa_version)])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
@@ -152,6 +153,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 ]], [[
 /* ensure backward compatibility */
 #if !defined(SND_LIB_VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-tools-1.2.5/vxloader/configure 
new/alsa-tools-1.2.11/vxloader/configure
--- old/alsa-tools-1.2.5/vxloader/configure     2021-05-27 22:08:18.000000000 
+0200
+++ new/alsa-tools-1.2.11/vxloader/configure    2024-01-29 14:08:33.000000000 
+0100
@@ -4168,6 +4168,7 @@
 /* end confdefs.h.  */
 
 #include <alsa/asoundlib.h>
+#include <stdlib.h>
 
 int
 main ()
@@ -4240,6 +4241,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>
+#include <stdlib.h>
 
 int
 main ()

Reply via email to