rpms/gstreamer-plugins-base/devel 0001-build-link-to-libm-in-examples-that-use-it.patch, NONE, 1.1 gstreamer-plugins-base.spec, 1.101, 1.102

Benjamin Otte company at fedoraproject.org
Thu Feb 11 10:05:18 UTC 2010


Author: company

Update of /cvs/pkgs/rpms/gstreamer-plugins-base/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17526

Modified Files:
	gstreamer-plugins-base.spec 
Added Files:
	0001-build-link-to-libm-in-examples-that-use-it.patch 
Log Message:
* Fri Feb 11 2010 Benjamin Otte <otte at redhat.com> 0.10.26-2
- Fix build to conform to new DSO rules



0001-build-link-to-libm-in-examples-that-use-it.patch:
 Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE 0001-build-link-to-libm-in-examples-that-use-it.patch ---
>From 6c7fdfb772891b37bce09d46398b8493349d4bf1 Mon Sep 17 00:00:00 2001
From: Benjamin Otte <otte at redhat.com>
Date: Thu, 11 Feb 2010 10:56:17 +0100
Subject: [PATCH] build: link to libm in examples that use it

This fixes build failure in Fedora 13.
---
 tests/examples/seek/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/examples/seek/Makefile.am b/tests/examples/seek/Makefile.am
index feadfd9..792f96c 100644
--- a/tests/examples/seek/Makefile.am
+++ b/tests/examples/seek/Makefile.am
@@ -8,6 +8,6 @@ noinst_PROGRAMS = $(examples)
 
 LDADD = \
 	$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces- at GST_MAJORMINOR@.la \
-	$(GST_LIBS) $(GTK_LIBS)
+	$(GST_LIBS) $(GTK_LIBS) $(LIBM)
 
 AM_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GTK_CFLAGS) -I$(top_builddir)/gst-libs
-- 
1.6.6



Index: gstreamer-plugins-base.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer-plugins-base/devel/gstreamer-plugins-base.spec,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -p -r1.101 -r1.102
--- gstreamer-plugins-base.spec	11 Feb 2010 08:17:25 -0000	1.101
+++ gstreamer-plugins-base.spec	11 Feb 2010 10:05:18 -0000	1.102
@@ -3,7 +3,7 @@
 
 Name: 		%{gstreamer}-plugins-base
 Version: 	0.10.26
-Release:  	1%{?dist}
+Release:  	2%{?dist}
 Summary: 	GStreamer streaming media framework base plug-ins
 
 Group: 		Applications/Multimedia
@@ -11,6 +11,7 @@ License: 	LGPLv2+
 URL:		http://gstreamer.freedesktop.org/
 Source:		http://gstreamer.freedesktop.org/data/src/gst-plugins-base/pre/gst-plugins-base-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         0001-build-link-to-libm-in-examples-that-use-it.patch
 
 Requires:       %{gstreamer} >= %{version}
 Requires:	liboil >= 0.3.12-9
@@ -49,6 +50,7 @@ This package contains a set of well-main
 
 %prep
 %setup -q -n gst-plugins-base-%{version}
+%patch0 -p1 -b .add-needed
 
 %build
 %configure \
@@ -243,6 +245,9 @@ GStreamer Base Plugins library developme
 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
 
 %changelog
+* Fri Feb 11 2010 Benjamin Otte <otte at redhat.com> 0.10.26-2
+- Fix build to conform to new DSO rules
+
 * Fri Feb 11 2010 Benjamin Otte <otte at redhat.com> 0.10.26-1
 - Update to 0.10.26
 



More information about the scm-commits mailing list