[packages/libdmapsharing] - fix undefined reference to floorf - rel 2

baggins baggins at pld-linux.org
Wed Oct 9 18:28:29 CEST 2013


commit 62cc95868e8adfeeccd1abdb1b87d8a46a863b09
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 9 18:28:09 2013 +0200

    - fix undefined reference to floorf
    - rel 2

 floorf.patch        | 10 ++++++++++
 libdmapsharing.spec |  9 ++++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/libdmapsharing.spec b/libdmapsharing.spec
index 73b9413..585c247 100644
--- a/libdmapsharing.spec
+++ b/libdmapsharing.spec
@@ -7,12 +7,13 @@ Summary:	A DMAP client and server library
 Summary(pl.UTF-8):	Biblioteka klienta i serwera DMAP
 Name:		libdmapsharing
 Version:	2.9.23
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://www.flyn.org/projects/libdmapsharing/download.html
 Source0:	https://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
 # Source0-md5:	7e6bb71f614392e340cac782586072a7
+Patch0:		floorf.patch
 URL:		https://www.flyn.org/projects/libdmapsharing/index.html
 BuildRequires:	avahi-glib-devel >= 0.5
 BuildRequires:	gdk-pixbuf2-devel >= 2.0
@@ -93,8 +94,14 @@ Dokumentacja API biblioteki libdmapsharing.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	%{?with_static_libs:--enable-static} \
 	--with-html-dir=%{_gtkdocdir} \
diff --git a/floorf.patch b/floorf.patch
new file mode 100644
index 0000000..20eb0a8
--- /dev/null
+++ b/floorf.patch
@@ -0,0 +1,10 @@
+--- libdmapsharing-2.9.23/libdmapsharing/Makefile.am~	2013-06-25 13:59:23.000000000 +0200
++++ libdmapsharing-2.9.23/libdmapsharing/Makefile.am	2013-10-09 18:24:24.146585568 +0200
+@@ -60,6 +60,7 @@
+ 
+ libdmapsharing_3_0_la_LDFLAGS = \
+ 	-version-info @SO_VERSION@ \
++	-lm \
+ 	$(GLIB_LIBS) \
+ 	$(GTHREAD_LIBS) \
+ 	$(GOBJECT_LIBS) \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libdmapsharing.git/commitdiff/62cc95868e8adfeeccd1abdb1b87d8a46a863b09



More information about the pld-cvs-commit mailing list