[clutter-sharp] add two compile fix patches
chkr
chkr at fedoraproject.org
Mon Nov 1 00:21:34 UTC 2010
commit c577af90080970d1aafd162eeca83287ea6bd35e
Author: Christian Krause <chkr at fedoraproject.org>
Date: Mon Nov 1 01:17:52 2010 +0100
add two compile fix patches
clutter-sharp-20090828-clutter-gtk.patch | 18 +++++++++++
clutter-sharp-20090828-initialization-fix.patch | 36 +++++++++++++++++++++++
2 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/clutter-sharp-20090828-clutter-gtk.patch b/clutter-sharp-20090828-clutter-gtk.patch
new file mode 100644
index 0000000..cb4f60f
--- /dev/null
+++ b/clutter-sharp-20090828-clutter-gtk.patch
@@ -0,0 +1,18 @@
+diff -uNr clutter-sharp-20090828.old/configure.ac clutter-sharp-20090828/configure.ac
+--- clutter-sharp-20090828.old/configure.ac 2009-08-17 14:33:18.000000000 +0200
++++ clutter-sharp-20090828/configure.ac 2010-11-01 00:38:45.000000000 +0100
+@@ -80,12 +80,12 @@
+
+ dnl check for clutter
+ PKG_CHECK_MODULES(CLUTTER, clutter-1.0 >= 1.0.1)
+-PKG_CHECK_MODULES(CLUTTER_GTK, clutter-gtk-0.10 >= 0.10.3, enable_gtk=yes, enable_gtk=no)
++PKG_CHECK_MODULES(CLUTTER_GTK, clutter-gtk-1.0 >= 0.10.3, enable_gtk=yes, enable_gtk=no)
+
+ AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtk" = "xyes")
+
+ CLUTTER_API_VERSION=$(pkg-config --variable apiversion clutter-1.0)
+-CLUTTER_GTK_API_VERSION=$(pkg-config --variable apiversion clutter-gtk-0.10)
++CLUTTER_GTK_API_VERSION=$(pkg-config --variable apiversion clutter-gtk-1.0)
+ CLUTTER_BACKEND=$(pkg-config --variable backend clutter-1.0)
+ AC_SUBST(CLUTTER_API_VERSION)
+ AC_SUBST(CLUTTER_BACKEND)
diff --git a/clutter-sharp-20090828-initialization-fix.patch b/clutter-sharp-20090828-initialization-fix.patch
new file mode 100644
index 0000000..db06dcf
--- /dev/null
+++ b/clutter-sharp-20090828-initialization-fix.patch
@@ -0,0 +1,36 @@
+diff -uNr clutter-sharp-20090828.old/clutter/Clutter/ActorBox.custom clutter-sharp-20090828/clutter/Clutter/ActorBox.custom
+--- clutter-sharp-20090828.old/clutter/Clutter/ActorBox.custom 2009-08-17 14:33:18.000000000 +0200
++++ clutter-sharp-20090828/clutter/Clutter/ActorBox.custom 2010-11-01 01:02:52.000000000 +0100
+@@ -28,10 +28,10 @@
+
+ public ActorBox (float x, float y, float width, float height)
+ {
+- X1 = x;
+- Y1 = y;
+- Width = width;
+- Height = height;
++ x1 = x;
++ y1 = y;
++ x2 = x1 + width;
++ y2 = y1 + height;
+ }
+
+ public override string ToString ()
+diff -uNr clutter-sharp-20090828.old/clutter/Clutter/Color.custom clutter-sharp-20090828/clutter/Clutter/Color.custom
+--- clutter-sharp-20090828.old/clutter/Clutter/Color.custom 2009-08-17 14:33:18.000000000 +0200
++++ clutter-sharp-20090828/clutter/Clutter/Color.custom 2010-11-01 01:05:42.000000000 +0100
+@@ -24,10 +24,10 @@
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ // THE SOFTWARE.
+
+-public byte R { get; set; }
+-public byte G { get; set; }
+-public byte B { get; set; }
+-public byte A { get; set; }
++public byte R;
++public byte G;
++public byte B;
++public byte A;
+
+ public Color (byte r, byte g, byte b, byte a)
+ {
More information about the scm-commits
mailing list