board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / alsamixergui / 0001-misc-fixes.patch
blob6b498dadf9b4741bdd7d67f1e43df0c239f7f5a2
1 --- a/configure.in
2 +++ b/configure.in
3 @@ -11,7 +11,10 @@
4 AC_PROG_LN_S
6 dnl Checks for libraries.
7 -AC_CHECK_LIB(fltk,numericsort,,AC_MSG_ERROR("missing fltk"))
8 +AC_CHECK_LIB(fltk,numericsort,,
9 +AC_CHECK_LIB(fltk,fl_numericsort,,
10 +AC_MSG_ERROR("missing fltk"))
12 AM_PATH_ALSA(0.9.0)
14 dnl Checks for header files.
15 --- a/src/alsamixer.cxx 2007-10-21 12:39:11.000000000 -0400
16 +++ b/src/alsamixer.cxx 2007-10-21 12:49:10.000000000 -0400
17 @@ -2081,8 +2081,8 @@ static void
18 mixer_signal_handler (int signal)
20 if (signal != SIGSEGV)
21 - mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
22 - else
23 + // mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
24 + //else
26 fprintf (stderr, "\nSegmentation fault.\n");
27 _exit (11);
28 --- a/src/alsamixer.cxx 2006-01-16 12:41:54.000000000 -0600
29 +++ b/src/alsamixer.cxx 2006-01-16 12:45:44.000000000 -0600
30 @@ -653,8 +653,8 @@
31 if (vleft >= 0 && vright >= 0) {
32 if (joined) {
33 #ifdef ALSAMIXER_GUI
34 - for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST;
35 - snd_mixer_selem_channel_id_t(int(chn)++))
36 + for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST;
37 + snd_mixer_selem_channel_id_t(int(chn)+1))
38 #else
39 for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
40 #endif