From 2b7a6c3d45b97cb8614c042d369aefb063018484 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 23 May 2012 09:32:44 +0200 Subject: [PATCH] aubio: added patch to correctly link examples. --- srcpkgs/aubio/patches/aubio-linking.patch | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/aubio/patches/aubio-linking.patch diff --git a/srcpkgs/aubio/patches/aubio-linking.patch b/srcpkgs/aubio/patches/aubio-linking.patch new file mode 100644 index 00000000000..747dc0bafdc --- /dev/null +++ b/srcpkgs/aubio/patches/aubio-linking.patch @@ -0,0 +1,33 @@ +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: