rpms/gstreamer-plugins-good/devel pulsemixer-cast.patch, NONE, 1.1 gstreamer-plugins-good.spec, 1.87, 1.88

Bastien Nocera hadess at fedoraproject.org
Tue Feb 10 12:13:57 UTC 2009


Author: hadess

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

Modified Files:
	gstreamer-plugins-good.spec 
Added Files:
	pulsemixer-cast.patch 
Log Message:
More compilation fixes


pulsemixer-cast.patch:

--- NEW FILE pulsemixer-cast.patch ---
commit 53c1f91959f6d5ca0213e4af96168ea1c5a0f055
Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Tue Feb 10 11:25:49 2009 +0100

    pulsemixer: Fix (ARM) compiler warnings.

diff --git a/ext/pulse/pulsemixerctrl.c b/ext/pulse/pulsemixerctrl.c
index a7bc9a1..41b68cf 100644
--- a/ext/pulse/pulsemixerctrl.c
+++ b/ext/pulse/pulsemixerctrl.c
@@ -93,10 +93,10 @@ gst_pulsemixer_ctrl_sink_info_cb (pa_context * context, const pa_sink_info * i,
   c->type = GST_PULSEMIXER_SINK;
 
   if (c->track) {
-    int i = g_atomic_int_get (&c->track->flags);
+    int i = g_atomic_int_get ((gint *) & c->track->flags);
 
     i = (i & ~GST_MIXER_TRACK_MUTE) | (c->muted ? GST_MIXER_TRACK_MUTE : 0);
-    g_atomic_int_set (&c->track->flags, i);
+    g_atomic_int_set ((gint *) & c->track->flags, i);
   }
 
   c->operation_success = 1;
@@ -142,10 +142,10 @@ gst_pulsemixer_ctrl_source_info_cb (pa_context * context,
   c->type = GST_PULSEMIXER_SOURCE;
 
   if (c->track) {
-    int i = g_atomic_int_get (&c->track->flags);
+    int i = g_atomic_int_get ((gint *) & c->track->flags);
 
     i = (i & ~GST_MIXER_TRACK_MUTE) | (c->muted ? GST_MIXER_TRACK_MUTE : 0);
-    g_atomic_int_set (&c->track->flags, i);
+    g_atomic_int_set ((gint *) & c->track->flags, i);
   }
 
   c->operation_success = 1;
@@ -572,10 +572,10 @@ gst_pulsemixer_ctrl_set_mute (GstPulseMixerCtrl * c, GstMixerTrack * track,
   c->update_mute = TRUE;
 
   if (c->track) {
-    int i = g_atomic_int_get (&c->track->flags);
+    int i = g_atomic_int_get ((gint *) & c->track->flags);
 
     i = (i & ~GST_MIXER_TRACK_MUTE) | (c->muted ? GST_MIXER_TRACK_MUTE : 0);
-    g_atomic_int_set (&c->track->flags, i);
+    g_atomic_int_set ((gint *) & c->track->flags, i);
   }
 
   restart_time_event (c);


Index: gstreamer-plugins-good.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer-plugins-good/devel/gstreamer-plugins-good.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- gstreamer-plugins-good.spec	10 Feb 2009 11:44:08 -0000	1.87
+++ gstreamer-plugins-good.spec	10 Feb 2009 12:13:27 -0000	1.88
@@ -16,6 +16,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # http://bugzilla.gnome.org/show_bug.cgi?id=570995
 Patch0:		h264pay-compiler-warning.diff
+# http://bugzilla.gnome.org/show_bug.cgi?id=571153
+Patch1:		pulsemixer-cast.patch
 
 Requires: 	%{gstreamer} >= %{_gst}
 Requires(pre): GConf2 
@@ -100,6 +102,7 @@
 %prep
 %setup -q -n gst-plugins-good-%{version}
 %patch0 -p1 -b .h264-compile
+%patch1 -p1 -b .pulse-compile
 
 %build
 
@@ -254,7 +257,7 @@
 
 %changelog
 * Tue Feb 10 2009 - Bastien Nocera <bnocera at redhat.com> - 0.10.13.2-2
-- Add patch to fix compilation
+- Add patches to fix compilation
 
 * Sun Feb 08 2009 - Bastien Nocera <bnocera at redhat.com> - 0.10.13.2-1
 - Update to 0.10.13.2 pre-release




More information about the fedora-extras-commits mailing list