rpms/gobject-introspection/devel gobject-introspection-compilecrashfix.patch, NONE, 1.1

Peter Robinson pbrobinson at fedoraproject.org
Mon Jul 6 20:36:22 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/gobject-introspection/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12636

Added Files:
	gobject-introspection-compilecrashfix.patch 
Log Message:
- add patch

gobject-introspection-compilecrashfix.patch:

--- NEW FILE gobject-introspection-compilecrashfix.patch ---
>From a1f5af4683b08892e87288ef4906782f4094703d Mon Sep 17 00:00:00 2001
From: Dan Winship <danw at gnome.org>
Date: Mon, 06 Jul 2009 15:17:40 +0000
Subject: Sync the basic types array in girnode.c:serialize_type with GITypeTag

Fixes a crash compiling GIRepository-2.0.gir.

http://bugzilla.gnome.org/show_bug.cgi?id=587823
---
diff --git a/girepository/girnode.c b/girepository/girnode.c
index bd9be68..22e821e 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1229,6 +1229,8 @@ serialize_type (GIrModule    *module,
     "uint32", 
     "int64", 
     "uint64", 
+    "short",
+    "ushort",
     "int",
     "uint",
     "long",
@@ -1237,11 +1239,10 @@ serialize_type (GIrModule    *module,
     "size",
     "float", 
     "double",
+    "time_t",
+    "GType",
     "utf8", 
     "filename",
-    "string",
-    "sequence",
-    "any"
   };
   
   if (node->tag < GI_TYPE_TAG_ARRAY)
--
cgit v0.8.2




More information about the fedora-extras-commits mailing list