Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gobject-introspection/files: gobject-introspection-0.9.0-python27.patch
Date: Sat, 02 Oct 2010 14:06:44
Message-Id: 20101002140637.6F1D620054@flycatcher.gentoo.org
1 eva 10/10/02 14:06:37
2
3 Added: gobject-introspection-0.9.0-python27.patch
4 Log:
5 Version bump. Fix build with python 2.7, bug #327759. Install documentation with USE=doc, bug #335110.
6
7 (Portage version: 2.2_rc88/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-libs/gobject-introspection/files/gobject-introspection-0.9.0-python27.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/files/gobject-introspection-0.9.0-python27.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/files/gobject-introspection-0.9.0-python27.patch?rev=1.1&content-type=text/plain
14
15 Index: gobject-introspection-0.9.0-python27.patch
16 ===================================================================
17 ---
18 Fix build with python2.7.
19
20 Gentoo: #327759.
21
22 Thanks to pld-linux people.
23
24 --- a/giscanner/xmlwriter.py 2009-09-17 10:53:45.000000000 +0200
25 +++ b/giscanner/xmlwriter.py 2010-07-08 15:36:27.702842362 +0200
26 @@ -67,7 +67,7 @@
27 return attr_value
28
29
30 -with LibtoolImporter:
31 +with LibtoolImporter(None, None):
32 from giscanner._giscanner import collect_attributes
33
34
35 --- a/giscanner/sourcescanner.py 2010-06-29 15:35:09.000000000 +0200
36 +++ b/giscanner/sourcescanner.py 2010-07-08 15:40:05.096144193 +0200
37 @@ -196,7 +196,7 @@
38 class SourceScanner(object):
39
40 def __init__(self):
41 - with LibtoolImporter:
42 + with LibtoolImporter(None, None):
43 from giscanner._giscanner import SourceScanner
44 self._scanner = SourceScanner()
45 self._filenames = []