diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-09-17 16:46:33 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-09-17 16:46:33 +0800 |
commit | 77be9b937cf0da2dd2c4a4fe800d85b3179a4676 (patch) | |
tree | da9bdbf926df6e35565c8a6ee08e124ffa154611 /devel | |
parent | 36ad68f1f18d6d21cb438451117745d934043db9 (diff) | |
download | marcuscom-ports-77be9b937cf0da2dd2c4a4fe800d85b3179a4676.tar.gz marcuscom-ports-77be9b937cf0da2dd2c4a4fe800d85b3179a4676.tar.zst marcuscom-ports-77be9b937cf0da2dd2c4a4fe800d85b3179a4676.zip |
Fix the build with recent gobject-introspection.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16202 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-gobject/Makefile | 3 | ||||
-rw-r--r-- | devel/py-gobject/files/patch-gi_pygi-info.c | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile index ebb5f20c7..6cf411bd1 100644 --- a/devel/py-gobject/Makefile +++ b/devel/py-gobject/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/py-gobject/Makefile,v 1.51 2011/04/18 20:08:32 kwm Exp $ +# $MCom: ports/devel/py-gobject/Makefile,v 1.52 2011/06/13 20:37:47 kwm Exp $ # PORTNAME= gobject PORTVERSION= 2.28.6 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/devel/py-gobject/files/patch-gi_pygi-info.c b/devel/py-gobject/files/patch-gi_pygi-info.c new file mode 100644 index 000000000..75ab80f5a --- /dev/null +++ b/devel/py-gobject/files/patch-gi_pygi-info.c @@ -0,0 +1,28 @@ +--- gi/pygi-info.c.orig 2011-09-17 10:24:16.000000000 +0200 ++++ gi/pygi-info.c 2011-09-17 10:24:40.000000000 +0200 +@@ -162,9 +162,6 @@ _pygi_info_new (GIBaseInfo *info) + 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 @@ _pygi_g_type_info_size (GITypeInfo *type + 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 @@ pygi_g_struct_info_is_simple (GIStructIn + 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: |