Date: Fri, 13 Sep 2013 21:55:59 +0200 From: nemysis <nemysis@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@FreeBSD.org Subject: ports/182069: [PATCH] devel/py27-gobject: Fix GFlags messages Message-ID: <201309131955.r8DJtwdn062517@freefall.freebsd.org> Resent-Message-ID: <201309132000.r8DK025h062684@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182069 >Category: ports >Synopsis: [PATCH] devel/py27-gobject: Fix GFlags messages >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 13 20:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p20 amd64 >Organization: >Environment: System: FreeBSD nemysis4now 9.1-RELEASE-p20 FreeBSD 9.1-RELEASE-p20 #0: Tue Sep 10 17:07:53 UTC 2013 >Description: Added file(s): - files/patch-gio-gio-types.defs Port maintainer (gnome@FreeBSD.org) is cc'd. Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130912232301-7036/ Without this patch i have get these messages with graphics/boxer and many other Ports ** (process:17507): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:17507): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:17507): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' >Fix: --- py27-gobject-2.28.6_3.patch begins here --- diff -ruN /usr/ports/devel/py-gobject/files/patch-gio-gio-types.defs ./files/patch-gio-gio-types.defs --- /usr/ports/devel/py-gobject/files/patch-gio-gio-types.defs 1970-01-01 01:00:00.000000000 +0100 +++ ./files/patch-gio-gio-types.defs 2013-09-13 01:16:47.000000000 +0200 @@ -0,0 +1,29 @@ +--- gio/gio-types.defs.orig 2011-06-13 18:33:49.000000000 +0200 ++++ gio/gio-types.defs 2013-09-13 01:14:09.000000000 +0200 +@@ -526,7 +526,7 @@ + ) + ) + +-(define-enum MountMountFlags ++(define-flags MountMountFlags + (in-module "gio") + (c-name "GMountMountFlags") + (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS") +@@ -545,7 +545,7 @@ + ) + ) + +-(define-enum DriveStartFlags ++(define-flags DriveStartFlags + (in-module "gio") + (c-name "GDriveStartFlags") + (gtype-id "G_TYPE_DRIVE_START_FLAGS") +@@ -770,7 +770,7 @@ + ) + ) + +-(define-enum SocketMsgFlags ++(define-flags SocketMsgFlags + (in-module "gio") + (c-name "GSocketMsgFlags") + (gtype-id "G_TYPE_SOCKET_MSG_FLAGS") --- py27-gobject-2.28.6_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309131955.r8DJtwdn062517>