File moc-2.5.0-underlinking.patch of Package moc

Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -81,7 +81,7 @@ EXTRA_mocp_SOURCES = gnugetopt.h \
 		     jack.c \
 		     jack.h
 man_MANS = mocp.1
-mocp_LDADD = @EXTRA_OBJS@ -lltdl
+mocp_LDADD = @EXTRA_OBJS@ -lltdl $(LIBM)
 mocp_DEPENDENCIES = @EXTRA_OBJS@
 mocp_LDFLAGS = @EXTRA_LIBS@ $(RCC_LIBS) -export-dynamic
 EXTRA_DIST = README_equalizer mocp.1 THANKS keymap.example Doxyfile \
Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -458,7 +458,7 @@ EXTRA_mocp_SOURCES = gnugetopt.h \
 		     jack.h
 
 man_MANS = mocp.1
-mocp_LDADD = @EXTRA_OBJS@ -lltdl
+mocp_LDADD = @EXTRA_OBJS@ -lltdl -lm
 mocp_DEPENDENCIES = @EXTRA_OBJS@
 mocp_LDFLAGS = @EXTRA_LIBS@ $(RCC_LIBS) -export-dynamic
 EXTRA_DIST = README_equalizer mocp.1 THANKS keymap.example Doxyfile \
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -65,6 +65,7 @@ AC_DISABLE_STATIC
 AC_ENABLE_SHARED
 AC_PROG_LIBTOOL
 AC_LIB_LTDL
+LT_LIB_M
 
 AC_SUBST([EXTRA_OBJS])