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
+ 
+