[libmx/f18] Try again
Matthias Clasen
mclasen at fedoraproject.org
Tue Aug 28 22:02:40 UTC 2012
commit 1e9ca56b9a0494c7ee0dc8d006e34b5561ece4cf
Author: Matthias Clasen <mclasen at redhat.com>
Date: Tue Aug 28 18:03:07 2012 -0400
Try again
libmx.spec | 3 +++
mx-nogl.patch | 15 +++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/libmx.spec b/libmx.spec
index 2523e62..6640061 100644
--- a/libmx.spec
+++ b/libmx.spec
@@ -8,6 +8,8 @@ License: LGPLv2
URL: http://www.clutter-project.org
Source0: https://github.com/downloads/clutter-project/mx/mx-%{version}.tar.xz
+Patch0: mx-nogl.patch
+
BuildRequires: clutter-devel
BuildRequires: dbus-glib-devel
BuildRequires: gobject-introspection-devel
@@ -49,6 +51,7 @@ toolkit, currently used primarily by Moblin.
%prep
%setup -q -n mx-%{version}
+%patch0 -p1 -b .nogl
%build
%configure --disable-static --enable-introspection --enable-gtk-doc
diff --git a/mx-nogl.patch b/mx-nogl.patch
new file mode 100644
index 0000000..f3f0ca1
--- /dev/null
+++ b/mx-nogl.patch
@@ -0,0 +1,15 @@
+diff -up mx-1.4.7/mx/mx-deform-texture.c.nogl mx-1.4.7/mx/mx-deform-texture.c
+--- mx-1.4.7/mx/mx-deform-texture.c.nogl 2012-08-28 18:01:17.876523110 -0400
++++ mx-1.4.7/mx/mx-deform-texture.c 2012-08-28 18:02:14.840542500 -0400
+@@ -493,9 +493,9 @@ mx_deform_texture_class_init (MxDeformTe
+ static void
+ mx_deform_texture_init_arrays (MxDeformTexture *self)
+ {
+- GLushort *idx, *bf_idx;
++ gushort *idx, *bf_idx;
+ gint x, y, direction;
+- GLushort *static_indices, *static_bf_indices;
++ gushort *static_indices, *static_bf_indices;
+ MxDeformTexturePrivate *priv = self->priv;
+
+ mx_deform_texture_free_arrays (self);
More information about the scm-commits
mailing list