[lfs-patches] r2403 - in trunk: . pygobject2

andy at linuxfromscratch.org andy at linuxfromscratch.org
Wed Mar 28 18:44:59 PDT 2012


Author: andy
Date: 2012-03-28 19:44:55 -0600 (Wed, 28 Mar 2012)
New Revision: 2403

Added:
   trunk/pygobject2/
   trunk/pygobject2/pygobject2-2.28.6-introspection-1.patch
Log:
Fixes compiling pygobject2 with a recent version of gobject-introspection

Added: trunk/pygobject2/pygobject2-2.28.6-introspection-1.patch
===================================================================
--- trunk/pygobject2/pygobject2-2.28.6-introspection-1.patch	                        (rev 0)
+++ trunk/pygobject2/pygobject2-2.28.6-introspection-1.patch	2012-03-29 01:44:55 UTC (rev 2403)
@@ -0,0 +1,35 @@
+Submitted By: Andrew Benton <andy at benton.eu.com>
+Date: 2012-03-29
+Initial Package Version: 2.28.6
+Upstream Status: not submitted
+Origin: me
+Description: Fixes compiling with a recent version of gobject-introspection
+
+--- pygobject-2.28.6/gi/pygi-info.c-orig	2012-03-29 02:27:37.494228732 +0100
++++ pygobject-2.28.6/gi/pygi-info.c	2012-03-29 02:26:37.735132310 +0100
+@@ -162,9 +162,6 @@
+         case GI_INFO_TYPE_CONSTANT:
+             type = &PyGIConstantInfo_Type;
+             break;
+-        case GI_INFO_TYPE_ERROR_DOMAIN:
+-            type = &PyGIErrorDomainInfo_Type;
+-            break;
+         case GI_INFO_TYPE_UNION:
+             type = &PyGIUnionInfo_Type;
+             break;
+@@ -481,7 +478,6 @@
+                 case GI_INFO_TYPE_INVALID:
+                 case GI_INFO_TYPE_FUNCTION:
+                 case GI_INFO_TYPE_CONSTANT:
+-                case GI_INFO_TYPE_ERROR_DOMAIN:
+                 case GI_INFO_TYPE_VALUE:
+                 case GI_INFO_TYPE_SIGNAL:
+                 case GI_INFO_TYPE_PROPERTY:
+@@ -860,7 +856,6 @@
+                     case GI_INFO_TYPE_INVALID:
+                     case GI_INFO_TYPE_FUNCTION:
+                     case GI_INFO_TYPE_CONSTANT:
+-                    case GI_INFO_TYPE_ERROR_DOMAIN:
+                     case GI_INFO_TYPE_VALUE:
+                     case GI_INFO_TYPE_SIGNAL:
+                     case GI_INFO_TYPE_PROPERTY:




More information about the patches mailing list