[packages/lash] liniking patch from fedora
atler
atler at pld-linux.org
Sat Oct 17 21:23:27 CEST 2020
commit dbd737a40257d7e1bebaa517724198a1fb9cfca7
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Oct 17 21:20:33 2020 +0200
liniking patch from fedora
lash-linking.patch | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
lash.spec | 2 ++
2 files changed, 92 insertions(+)
---
diff --git a/lash.spec b/lash.spec
index 7048a17..3182ead 100644
--- a/lash.spec
+++ b/lash.spec
@@ -13,6 +13,7 @@ Patch2: %{name}-swig2.patch
Patch3: texinfo5.patch
Patch4: rlimit.patch
Patch5: %{name}-swig3.patch
+Patch6: %{name}-linking.patch
URL: http://lash.nongnu.org/
BuildRequires: /usr/bin/texi2html
BuildRequires: alsa-lib-devel >= 0.9
@@ -111,6 +112,7 @@ Wiązania Pythona do biblioteki LASH.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
%{__libtoolize}
diff --git a/lash-linking.patch b/lash-linking.patch
new file mode 100644
index 0000000..e46d164
--- /dev/null
+++ b/lash-linking.patch
@@ -0,0 +1,90 @@
+diff -rupN lash-0.5.4.old/clients/control/Makefile.am lash-0.5.4/clients/control/Makefile.am
+--- lash-0.5.4.old/clients/control/Makefile.am 2007-01-13 13:20:03.000000000 -0500
++++ lash-0.5.4/clients/control/Makefile.am 2010-02-10 03:08:04.000000000 -0500
+@@ -18,6 +18,6 @@ lash_control_CFLAGS = $(LASH_CFLAGS)
+
+ lash_control_LDADD = \
+ $(top_builddir)/liblash/liblash.la \
+- $(LASH_LIBS) @READLINE_LIBS@
++ $(LASH_LIBS) @READLINE_LIBS@ -luuid
+
+ endif
+diff -rupN lash-0.5.4.old/clients/control/Makefile.in lash-0.5.4/clients/control/Makefile.in
+--- lash-0.5.4.old/clients/control/Makefile.in 2007-11-14 17:00:09.000000000 -0500
++++ lash-0.5.4/clients/control/Makefile.in 2010-02-10 03:09:26.000000000 -0500
+@@ -236,7 +236,7 @@ AM_CPPFLAGS = -I$(top_srcdir)
+ @HAVE_READLINE_TRUE at lash_control_CFLAGS = $(LASH_CFLAGS)
+ @HAVE_READLINE_TRUE at lash_control_LDADD = \
+ @HAVE_READLINE_TRUE@ $(top_builddir)/liblash/liblash.la \
+- at HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@
++ at HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@ -luuid
+
+ all: all-am
+
+diff -rupN lash-0.5.4.old/clients/panel/Makefile.am lash-0.5.4/clients/panel/Makefile.am
+--- lash-0.5.4.old/clients/panel/Makefile.am 2005-09-13 01:22:59.000000000 -0400
++++ lash-0.5.4/clients/panel/Makefile.am 2010-02-10 03:17:10.000000000 -0500
+@@ -13,7 +13,7 @@ lash_panel_CFLAGS = \
+
+ lash_panel_LDADD = \
+ $(top_builddir)/liblash/liblash.la \
+- $(GTK2_LIBS)
++ $(GTK2_LIBS) -luuid
+
+ if HAVE_GTK2
+ bin_PROGRAMS = lash_panel
+diff -rupN lash-0.5.4.old/clients/panel/Makefile.in lash-0.5.4/clients/panel/Makefile.in
+--- lash-0.5.4.old/clients/panel/Makefile.in 2007-11-14 17:00:09.000000000 -0500
++++ lash-0.5.4/clients/panel/Makefile.in 2010-02-10 03:17:23.000000000 -0500
+@@ -230,7 +230,7 @@ lash_panel_CFLAGS = \
+
+ lash_panel_LDADD = \
+ $(top_builddir)/liblash/liblash.la \
+- $(GTK2_LIBS)
++ $(GTK2_LIBS) -luuid
+
+ all: all-am
+
+diff -rupN lash-0.5.4.old/clients/synth/Makefile.am lash-0.5.4/clients/synth/Makefile.am
+--- lash-0.5.4.old/clients/synth/Makefile.am 2005-09-13 01:22:59.000000000 -0400
++++ lash-0.5.4/clients/synth/Makefile.am 2010-02-10 03:22:39.000000000 -0500
+@@ -20,4 +20,4 @@ lash_synth_LDADD = \
+ $(JACK_LIBS) \
+ $(ALSA_LIBS) \
+ $(GTK2_LIBS) \
+- -lpthread
++ -lpthread -lm
+diff -rupN lash-0.5.4.old/clients/synth/Makefile.in lash-0.5.4/clients/synth/Makefile.in
+--- lash-0.5.4.old/clients/synth/Makefile.in 2007-11-14 17:00:10.000000000 -0500
++++ lash-0.5.4/clients/synth/Makefile.in 2010-02-10 03:22:51.000000000 -0500
+@@ -238,7 +238,7 @@ lash_synth_LDADD = \
+ $(JACK_LIBS) \
+ $(ALSA_LIBS) \
+ $(GTK2_LIBS) \
+- -lpthread
++ -lpthread -lm
+
+ all: all-am
+
+diff -rupN lash-0.5.4.old/lashd/Makefile.am lash-0.5.4/lashd/Makefile.am
+--- lash-0.5.4.old/lashd/Makefile.am 2006-09-16 16:27:46.000000000 -0400
++++ lash-0.5.4/lashd/Makefile.am 2010-07-23 15:13:59.000000000 -0400
+@@ -32,6 +32,7 @@ lashd_LDADD = \
+ $(ALSA_LIBS) \
+ $(XML2_LIBS) \
+ $(UUID_LIBS) \
++ -lpthread \
+ $(top_builddir)/liblash/liblash.la
+
+ lashd_CFLAGS = \
+diff -rupN lash-0.5.4.old/lashd/Makefile.in lash-0.5.4/lashd/Makefile.in
+--- lash-0.5.4.old/lashd/Makefile.in 2007-11-14 17:00:10.000000000 -0500
++++ lash-0.5.4/lashd/Makefile.in 2010-07-23 15:14:29.000000000 -0400
+@@ -262,6 +262,7 @@ lashd_LDADD = \
+ $(ALSA_LIBS) \
+ $(XML2_LIBS) \
+ $(UUID_LIBS) \
++ -lpthread \
+ $(top_builddir)/liblash/liblash.la
+
+ lashd_CFLAGS = \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lash.git/commitdiff/44cf5d104cfcbf88ad8a7214697bc6af99b01732
More information about the pld-cvs-commit
mailing list