[clutter-gst] Pull patch from upstreamer to fix build

Brian Pepple bpepple at fedoraproject.org
Tue Aug 21 14:24:32 UTC 2012


commit 4ee93350be82c41eee90b1088bc1f31167b82840
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Tue Aug 21 09:23:47 2012 -0500

    Pull patch from upstreamer to fix build

 clutter-gst-1.6.0-needless-glint.patch |   12 ++++++++++++
 clutter-gst.spec                       |    5 ++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gst-1.6.0-needless-glint.patch b/clutter-gst-1.6.0-needless-glint.patch
new file mode 100644
index 0000000..ba82da7
--- /dev/null
+++ b/clutter-gst-1.6.0-needless-glint.patch
@@ -0,0 +1,12 @@
+diff -uNr clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c clutter-gst-1.6.0-new/clutter-gst/clutter-gst-video-sink.c
+--- clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c	2012-04-27 07:11:08.000000000 -0400
++++ clutter-gst-1.6.0-new/clutter-gst/clutter-gst-video-sink.c	2012-08-21 10:01:03.254238072 -0400
+@@ -1133,7 +1133,7 @@
+ clutter_gst_build_renderers_list (void)
+ {
+   GSList             *list = NULL;
+-  GLint               nb_texture_units = 0;
++  gint               nb_texture_units = 0;
+   gint                features = 0, i;
+   /* The order of the list of renderers is important. They will be prepended
+    * to a GSList and we'll iterate over that list to choose the first matching
diff --git a/clutter-gst.spec b/clutter-gst.spec
index 720f5d4..63d6ad0 100644
--- a/clutter-gst.spec
+++ b/clutter-gst.spec
@@ -10,6 +10,7 @@ Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.5/%{name}-%{ver
 # http://cgit.freedesktop.org/dolt/commit/?id=b6a7ccd13501ee2099c9819af4b36587f21ca1e0
 # Support Linux on any architecture, and assume -fPIC
 Patch0:         %{name}-1.3.12-dolt.patch
+Patch1:         %{name}-1.6.0-needless-glint.patch
 
 BuildRequires:  clutter-devel >= 1.10.0
 BuildRequires:  gobject-introspection-devel
@@ -36,6 +37,7 @@ clutter-gst
 %prep
 %setup -q
 #%patch0 -p1 -b .dolt
+%patch1 -p1 -b .glint
 
 %build
 %configure
@@ -67,8 +69,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 %{_datadir}/gir-1.0/ClutterGst-1.0.gir
 
 %changelog
-* Sun Aug 19 2012 Brian Pepple <bpepple at fedoraproject.org> - 1.6.0-3
+* Tue Aug 21 2012 Brian Pepple <bpepple at fedoraproject.org> - 1.6.0-3
 - Rebuild for new libcogl.
+- Pull glint patch from upstream to fix build.
 
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list