[clutter-gst/f18] fix build

Matthias Clasen mclasen at fedoraproject.org
Tue Aug 28 20:52:20 UTC 2012


commit 88c153c6875fcf710bf938025d93cc193d39c3cf
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue Aug 28 16:52:43 2012 -0400

    fix build

 clutter-gst-nogl.patch |   12 ++++++++++++
 clutter-gst.spec       |    3 +++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gst-nogl.patch b/clutter-gst-nogl.patch
new file mode 100644
index 0000000..2bacf43
--- /dev/null
+++ b/clutter-gst-nogl.patch
@@ -0,0 +1,12 @@
+diff -up clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c.nogl clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c
+--- clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c.nogl	2012-08-28 16:51:32.465201528 -0400
++++ clutter-gst-1.6.0/clutter-gst/clutter-gst-video-sink.c	2012-08-28 16:50:53.943191820 -0400
+@@ -1133,7 +1133,7 @@ static GSList *
+ 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 ad7e489..54c0e18 100644
--- a/clutter-gst.spec
+++ b/clutter-gst.spec
@@ -10,6 +10,8 @@ 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
+# upstream fix
+Patch1:         clutter-gst-nogl.patch
 
 BuildRequires:  clutter-devel >= 1.11.12-3
 BuildRequires:  gobject-introspection-devel
@@ -36,6 +38,7 @@ clutter-gst
 %prep
 %setup -q
 #%patch0 -p1 -b .dolt
+%patch1 -p1 .nogl
 
 %build
 %configure


More information about the scm-commits mailing list