summaryrefslogtreecommitdiff
path: root/devel/gobject-introspection/files
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
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')
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_sourcescanner.py11
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_xmlwriter.py11
2 files changed, 22 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 = []
diff --git a/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py b/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py
new file mode 100644
index 000000000000..94b3ca939d52
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-giscanner_xmlwriter.py
@@ -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
+
+