void-packages/srcpkgs/aubio/patches/aubio-linking.patch

34 lines
1.3 KiB
Diff

diff -rupN aubio-0.3.2.old/examples/Makefile.am aubio-0.3.2/examples/Makefile.am
--- examples/Makefile.am 2006-09-12 18:31:40.000000000 -0400
+++ examples/Makefile.am 2010-02-10 04:06:51.000000000 -0500
@@ -23,7 +23,7 @@ aubionotes_SOURCES = aubionotes.c utils.
aubiotrack_SOURCES = aubiotrack.c utils.c
aubioquiet_SOURCES = aubioquiet.c utils.c
-aubioonset_LDADD = @JACK_LIBS@
-aubionotes_LDADD = @JACK_LIBS@
-aubiotrack_LDADD = @JACK_LIBS@
-aubioquiet_LDADD = @JACK_LIBS@
+aubioonset_LDADD = @JACK_LIBS@ -lm
+aubionotes_LDADD = @JACK_LIBS@ -lm
+aubiotrack_LDADD = @JACK_LIBS@ -lm
+aubioquiet_LDADD = @JACK_LIBS@ -lm
diff -rupN aubio-0.3.2.old/examples/Makefile.in aubio-0.3.2/examples/Makefile.in
--- examples/Makefile.in 2006-10-08 19:22:10.000000000 -0400
+++ examples/Makefile.in 2010-02-10 04:07:00.000000000 -0500
@@ -247,10 +247,10 @@ aubioonset_SOURCES = aubioonset.c utils.
aubionotes_SOURCES = aubionotes.c utils.c
aubiotrack_SOURCES = aubiotrack.c utils.c
aubioquiet_SOURCES = aubioquiet.c utils.c
-aubioonset_LDADD = @JACK_LIBS@
-aubionotes_LDADD = @JACK_LIBS@
-aubiotrack_LDADD = @JACK_LIBS@
-aubioquiet_LDADD = @JACK_LIBS@
+aubioonset_LDADD = @JACK_LIBS@ -lm
+aubionotes_LDADD = @JACK_LIBS@ -lm
+aubiotrack_LDADD = @JACK_LIBS@ -lm
+aubioquiet_LDADD = @JACK_LIBS@ -lm
all: all-recursive
.SUFFIXES: