summaryrefslogtreecommitdiff
path: root/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-08-24 10:26:25 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-08-24 10:26:25 +0000
commiteac600994d127705de74116d71ffa111e06ef46a (patch)
treeeab7f6682599d92e4aa2c783e623b185cbd725c2 /devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
parent- Add an entry for net/tintin++-devel removal (diff)
Fix build with python 2.7.
PR: ports/149710 Submitted by: bf <bf1783@gmail.com> Obtained from: Gnome Git
Notes
Notes: svn path=/head/; revision=259901
Diffstat (limited to 'devel/gobject-introspection/files/patch-giscanner_sourcescanner.py')
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_sourcescanner.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py b/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
new file mode 100644
index 000000000000..cb77d1c7ac7b
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
@@ -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 = []