- add patch to fix missing -lm symbols
authorŁukasz Kieś <kiesiu@pld-linux.org>
Mon, 6 Jun 2011 19:23:38 +0000 (19:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    deadbeef.spec -> 1.4
    lm-missing-symbols.patch -> 1.1

deadbeef.spec
lm-missing-symbols.patch [new file with mode: 0644]

index 3267944..3a6c641 100644 (file)
@@ -6,6 +6,7 @@ License:        GPL v2 and LGPL v2.1
 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
@@ -50,8 +51,10 @@ Mad plugin.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__automake}
 %configure \
        --enable-gtkui \
        --docdir=%{_docdir}/%{name}-%{version}
diff --git a/lm-missing-symbols.patch b/lm-missing-symbols.patch
new file mode 100644 (file)
index 0000000..8ad0db4
--- /dev/null
@@ -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
This page took 0.187962 seconds and 4 git commands to generate.