File alsamixergui-fltk13.diff of Package alsamixergui

Index: alsamixergui-0.9.0rc1-2/configure.in
===================================================================
--- alsamixergui-0.9.0rc1-2.orig/configure.in
+++ alsamixergui-0.9.0rc1-2/configure.in
@@ -15,7 +15,7 @@ AC_PATH_XTRA
 CFLAGS="$CFLAGS $X_CFLAGS"
 CXXFLAGS="$CXXFLAGS $X_CFLAGS"
 LIBS="$LIBS $X_LIBS"
-AC_CHECK_LIB(fltk,fl_numericsort,,AC_MSG_ERROR("missing fltk"))
+AC_CHECK_LIB(fltk,fl_numericsort,,AC_MSG_ERROR("missing fltk"),[`fltk-config --ldflags`])
 AM_PATH_ALSA(0.9.0)
 
 dnl Checks for header files.
Index: alsamixergui-0.9.0rc1-2/src/Makefile.am
===================================================================
--- alsamixergui-0.9.0rc1-2.orig/src/Makefile.am
+++ alsamixergui-0.9.0rc1-2/src/Makefile.am
@@ -10,4 +10,4 @@ alsamixergui_SOURCES = \
  alsamixer.cxx \
  ncurser_to_fl.H
 
-alsamixergui_LDADD = @LIBS@ @ALSA_LIBS@
+alsamixergui_LDADD = @LIBS@ @ALSA_LIBS@ -lX11 -lXft -lfontconfig -lXinerama