rpms/farsight2/F-13 bad-cast.patch,NONE,1.1 farsight2.spec,1.24,1.25

Brian Pepple bpepple at fedoraproject.org
Thu Jul 8 17:09:01 UTC 2010


Author: bpepple

Update of /cvs/pkgs/rpms/farsight2/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8210

Modified Files:
	farsight2.spec 
Added Files:
	bad-cast.patch 
Log Message:
* Thu Jul  8 2010 Brian Pepple <bpepple at fedoraproject.org> - 0.0.20-2
- Add patch to fix a bad cast.


bad-cast.patch:
 fs-rtp-discover-codecs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE bad-cast.patch ---
From: Philip Withnall <philip at tecnocode.co.uk>
Date: Mon, 21 Jun 2010 16:18:38 +0000 (+0100)
Subject: rtpdiscocodecs: Remove a bad cast when listing codecs
X-Git-Url: http://git.collabora.co.uk/?p=farsight2.git;a=commitdiff_plain;h=96c96fa9b1bccc9232b191ca6483b82177baf311

rtpdiscocodecs: Remove a bad cast when listing codecs
---

diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index c40b357..e64323c 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -1102,7 +1102,7 @@ create_codec_cap_list (GstElementFactory *factory,
     if (padtemplate->direction != direction)
       continue;
 
-    if (GST_PAD_TEMPLATE_PRESENCE (padtemplate) != GST_PAD_ALWAYS) {
+    if (padtemplate->presence != GST_PAD_ALWAYS) {
       continue;
     }
 


Index: farsight2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/farsight2/F-13/farsight2.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- farsight2.spec	2 Jun 2010 14:13:28 -0000	1.24
+++ farsight2.spec	8 Jul 2010 17:09:01 -0000	1.25
@@ -7,13 +7,14 @@
 
 Name:           farsight2
 Version:        0.0.20
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Libraries for videoconferencing
 
 Group:          System Environment/Libraries
 License:	LGPLv2+
 URL:            http://farsight.freedesktop.org/wiki/
 Source0:        http://farsight.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
+Patch0:		bad-cast.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	glib2-devel >= 2.14
@@ -59,6 +60,7 @@ developing applications that use %{name}
 
 %prep
 %setup -q
+%patch0 -p1 -b .badcast
 
 
 %build
@@ -118,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul  8 2010 Brian Pepple <bpepple at fedoraproject.org> - 0.0.20-2
+- Add patch to fix a bad cast.
+
 * Wed Jun  2 2010 Brian Pepple <bpepple at fedoraproject.org> - 0.0.20-1
 - Update to 0.0.20.
 



More information about the scm-commits mailing list