Author: kiesiu                       Date: Mon Jun  6 19:23:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add patch to fix missing -lm symbols

---- Files affected:
packages/deadbeef:
   deadbeef.spec (1.3 -> 1.4) , lm-missing-symbols.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/deadbeef/deadbeef.spec
diff -u packages/deadbeef/deadbeef.spec:1.3 packages/deadbeef/deadbeef.spec:1.4
--- packages/deadbeef/deadbeef.spec:1.3 Mon Jun  6 17:25:38 2011
+++ packages/deadbeef/deadbeef.spec     Mon Jun  6 21:23:38 2011
@@ -7,6 +7,7 @@
 Group:         X11/Applications/Multimedia
 Source0:       
http://downloads.sourceforge.net/deadbeef/%{name}-%{version}.tar.bz2
 # Source0-md5: be8359d1bd9cf7679cf2ca748996e726
+Patch0:                lm-missing-symbols.patch
 URL:           http://deadbeef.sourceforge.net/
 BuildRequires: alsa-lib-devel
 BuildRequires: curl-devel
@@ -51,8 +52,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__automake}
 %configure \
        --enable-gtkui \
        --docdir=%{_docdir}/%{name}-%{version}
@@ -108,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/06/06 19:23:38  kiesiu
+- add patch to fix missing -lm symbols
+
 Revision 1.3  2011/06/06 15:25:38  kiesiu
 - updated to 0.5.1
 

================================================================
Index: packages/deadbeef/lm-missing-symbols.patch
diff -u /dev/null packages/deadbeef/lm-missing-symbols.patch:1.1
--- /dev/null   Mon Jun  6 21:23:43 2011
+++ packages/deadbeef/lm-missing-symbols.patch  Mon Jun  6 21:23:38 2011
@@ -0,0 +1,23 @@
+diff -uNr deadbeef-0.5.1.old/plugins/ffmpeg/Makefile.am 
deadbeef-0.5.1/plugins/ffmpeg/Makefile.am
+--- deadbeef-0.5.1.old/plugins/ffmpeg/Makefile.am      2011-03-03 
21:06:15.000000000 +0100
++++ deadbeef-0.5.1/plugins/ffmpeg/Makefile.am  2011-06-06 21:19:42.009745288 
+0200
+@@ -4,6 +4,6 @@
+ ffmpeg_la_SOURCES = ffmpeg.c
+ ffmpeg_la_LDFLAGS = -module
+ 
+-ffmpeg_la_LIBADD = $(LDADD) $(FFMPEG_DEPS_LIBS)
++ffmpeg_la_LIBADD = $(LDADD) $(FFMPEG_DEPS_LIBS) -lm
+ AM_CFLAGS = $(CFLAGS) -std=c99 ${FFMPEG_DEPS_CFLAGS}
+ endif
+diff -uNr deadbeef-0.5.1.old/plugins/m3u/Makefile.am 
deadbeef-0.5.1/plugins/m3u/Makefile.am
+--- deadbeef-0.5.1.old/plugins/m3u/Makefile.am 2011-05-07 18:42:49.000000000 
+0200
++++ deadbeef-0.5.1/plugins/m3u/Makefile.am     2011-06-06 21:19:24.463173681 
+0200
+@@ -5,7 +5,7 @@
+ 
+ m3u_la_LDFLAGS = -module
+ 
+-m3u_la_LIBADD = $(LIBADD)
++m3u_la_LIBADD = $(LIBADD) -lm
+ 
+ m3u_la_CFLAGS = $(CFLAGS) -std=c99
+ endif
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/deadbeef/deadbeef.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to