ssuominen 14/07/09 18:25:49
Added: lash-0.5.4-underlinking.patch
lash-0.5.4-strcmp.patch
Log:
Fix underlinking bugs #367589 (missing -luuid) and #514748 (missing -lm).
Thanks to Diego Elio Pettenò, Christian Compagnon and Ted Tanberry. Fix missing
include of string.h for strcmp() while at it.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key
4868F14D)
Revision Changes Path
1.1 media-sound/lash/files/lash-0.5.4-underlinking.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/files/lash-0.5.4-underlinking.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/files/lash-0.5.4-underlinking.patch?rev=1.1&content-type=text/plain
Index: lash-0.5.4-underlinking.patch
===================================================================
http://bugs.gentoo.org/367589
http://bugs.gentoo.org/514748
--- clients/control/Makefile.am
+++ clients/control/Makefile.am
@@ -18,6 +18,7 @@
lash_control_LDADD = \
$(top_builddir)/liblash/liblash.la \
- $(LASH_LIBS) @READLINE_LIBS@
+ $(LASH_LIBS) @READLINE_LIBS@ \
+ $(UUID_LIBS)
endif
--- clients/synth/Makefile.am
+++ clients/synth/Makefile.am
@@ -20,4 +20,5 @@
$(JACK_LIBS) \
$(ALSA_LIBS) \
$(GTK2_LIBS) \
- -lpthread
+ -lpthread \
+ -lm
1.1 media-sound/lash/files/lash-0.5.4-strcmp.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/files/lash-0.5.4-strcmp.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/files/lash-0.5.4-strcmp.patch?rev=1.1&content-type=text/plain
Index: lash-0.5.4-strcmp.patch
===================================================================
clients/synth/lash.c:85:2: warning: implicit declaration of function ‘strcmp’
[-Wimplicit-function-declaration]
--- clients/synth/lash.c
+++ clients/synth/lash.c
@@ -22,6 +22,7 @@
#include "config.h"
+#include <string.h>
#include <unistd.h>
#include <lash/lash.h>