summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-04-14 00:24:55 +0000
committerSebastian Pipping <sping@gentoo.org>2010-04-14 00:24:55 +0000
commitc7b98d75e642f1ab5d51c8b03135dd59a7c2860c (patch)
tree89fd2fc6732e81ce98cc6f2416fcd432e52dcac4 /dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch
parentVersion bump (diff)
downloadgentoo-2-c7b98d75e642f1ab5d51c8b03135dd59a7c2860c.tar.gz
gentoo-2-c7b98d75e642f1ab5d51c8b03135dd59a7c2860c.tar.bz2
gentoo-2-c7b98d75e642f1ab5d51c8b03135dd59a7c2860c.zip
dev-python/fuse-python: Integrate patch to fix ctors
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch')
-rw-r--r--dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch b/dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch
new file mode 100644
index 000000000000..4ec50f2f3508
--- /dev/null
+++ b/dev-python/fuse-python/files/fuse-python-0.2-fix-ctors.patch
@@ -0,0 +1,32 @@
+--- fuse.py
++++ fuse.py
+@@ -461,13 +462,14 @@
+ FUSE, see ``fuse.h``).
+ """
+
+- def __init__(self, name, **kw):
++ def __init__(self, name=None, **kw):
+
+ self.l_type = None
+ self.l_start = None
+ self.l_len = None
+ self.l_pid = None
+
++ kw['name'] = name
+ FuseStruct.__init__(self, **kw)
+
+
+@@ -477,11 +479,12 @@
+ http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
+ """
+
+- def __init__(self, name, **kw):
++ def __init__(self, name=None, **kw):
+
+ self.tv_sec = None
+ self.tv_nsec = None
+
++ kw['name'] = name
+ FuseStruct.__init__(self, **kw)
+
+