- Add patch to fix 64bit build
This commit is contained in:
parent
bf97dde717
commit
509e97884f
29
clutter-fix64.patch
Normal file
29
clutter-fix64.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From ecc5ffe91ace38c9d288251807e721a4cd71b052 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Bastian Winkler <buz@netbuz.org>
|
||||||
|
Date: Tue, 09 Feb 2010 14:19:03 +0000
|
||||||
|
Subject: cogl-buffer: Use correct argument types in cogl_buffer_set_data_EXP
|
||||||
|
|
||||||
|
offset and size arguments are gsize in cogl-buffer.h
|
||||||
|
|
||||||
|
http://bugzilla.openedhand.com/show_bug.cgi?id=1980
|
||||||
|
|
||||||
|
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
|
||||||
|
---
|
||||||
|
diff --git a/clutter/cogl/cogl/cogl-buffer.c b/clutter/cogl/cogl/cogl-buffer.c
|
||||||
|
index 89e0a05..a74879d 100644
|
||||||
|
--- a/clutter/cogl/cogl/cogl-buffer.c
|
||||||
|
+++ b/clutter/cogl/cogl/cogl-buffer.c
|
||||||
|
@@ -272,9 +272,9 @@ cogl_buffer_unmap_EXP (CoglHandle handle)
|
||||||
|
|
||||||
|
gboolean
|
||||||
|
cogl_buffer_set_data_EXP (CoglHandle handle,
|
||||||
|
- guint offset,
|
||||||
|
+ gsize offset,
|
||||||
|
const guchar *data,
|
||||||
|
- guint size)
|
||||||
|
+ gsize size)
|
||||||
|
{
|
||||||
|
CoglBuffer *buffer;
|
||||||
|
|
||||||
|
--
|
||||||
|
cgit v0.7.2-85-gd188
|
@ -1,12 +1,13 @@
|
|||||||
Name: clutter
|
Name: clutter
|
||||||
Version: 1.1.10
|
Version: 1.1.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Open Source software library for creating rich graphical user interfaces
|
Summary: Open Source software library for creating rich graphical user interfaces
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.clutter-project.org/
|
URL: http://www.clutter-project.org/
|
||||||
Source0: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
|
Source0: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: clutter-fix64.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: gobject-introspection
|
Requires: gobject-introspection
|
||||||
@ -55,9 +56,9 @@ We hope however it can be used for a lot more.
|
|||||||
|
|
||||||
This package contains documentation for clutter.
|
This package contains documentation for clutter.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .fix64
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-gtk-doc --enable-introspection --enable-xinput
|
%configure --enable-gtk-doc --enable-introspection --enable-xinput
|
||||||
@ -98,6 +99,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/gtk-doc/html/cogl
|
%{_datadir}/gtk-doc/html/cogl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.1.10-2
|
||||||
|
- Add patch to fix 64bit build
|
||||||
|
|
||||||
* Wed Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.1.10-1
|
* Wed Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.1.10-1
|
||||||
- Update to 1.1.10
|
- Update to 1.1.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user