ports/149710: [PATCH]devel/gobject-introspection: fix build with python 2.7
bf
bf1783 at gmail.com
Mon Aug 16 15:50:06 UTC 2010
>Number: 149710
>Category: ports
>Synopsis: [PATCH]devel/gobject-introspection: fix build with python 2.7
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 16 15:50:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 9-CURRENT amd64
>Organization:
-
>Environment:
>Description:
The build for this port is broken, after a bug in python 2.6 was fixed in the new python 2.7. The problem is described in:
https://bugzilla.gnome.org/show_bug.cgi?id=618562
and was fixed upstream by:
http://git.gnome.org/browse/gobject-introspection/patch/?id=7bcb292e7ff35764a02629213589f304df8b5076
My patch just adds this set of changes.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: ports/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
===================================================================
RCS file: ports/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
diff -N ports/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ ports/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py 16 Aug 2010 15:43:50 -0000
@@ -0,0 +1,11 @@
+--- giscanner/sourcescanner.py.orig
++++ giscanner/sourcescanner.py
+@@ -196,7 +196,7 @@ class SourceSymbol(object):
+ class SourceScanner(object):
+
+ def __init__(self):
+- with LibtoolImporter:
++ with LibtoolImporter(None, None):
+ from giscanner._giscanner import SourceScanner
+ self._scanner = SourceScanner()
+ self._filenames = []
Index: ports/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py
===================================================================
RCS file: ports/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py
diff -N ports/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ ports/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py 16 Aug 2010 15:44:09 -0000
@@ -0,0 +1,11 @@
+--- giscanner/xmlwriter.py.orig
++++ giscanner/xmlwriter.py
+@@ -67,7 +67,7 @@ def collect_attributes(tag_name, attributes, self_indent,
+ return attr_value
+
+
+-with LibtoolImporter:
++with LibtoolImporter(None, None):
+ from giscanner._giscanner import collect_attributes
+
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list