summaryrefslogtreecommitdiff
path: root/net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-09-28 20:09:59 +0000
committerSteve Wills <swills@FreeBSD.org>2020-09-28 20:09:59 +0000
commitb90364b34fa501d372eb771c126025a902566f0d (patch)
treed9561c363d970eb69b46f3c793ed20972c261816 /net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py
parentx11/libinput: Update to 1.6.1 (diff)
telepathy ports: fix build with python 3
PR: 249549 PR: 249550 PR: 249570 PR: 249734 PR: 249735 PR: 249738 Approved by: desktop (tcberner) Obtained from: ArchLinux, see Bugzilla PRs for details
Notes
Notes: svn path=/head/; revision=550445
Diffstat (limited to 'net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py')
-rw-r--r--net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py b/net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py
new file mode 100644
index 000000000000..8030597fbaae
--- /dev/null
+++ b/net-im/telepathy-salut/files/patch-tools_glib-signals-marshal-gen.py
@@ -0,0 +1,16 @@
+--- tools/glib-signals-marshal-gen.py.orig 2011-08-16 11:04:41 UTC
++++ tools/glib-signals-marshal-gen.py
+@@ -42,11 +42,11 @@ class Generator(object):
+ self.do_signal(signal)
+
+ all = self.marshallers.keys()
+- all.sort()
++ sorted(all)
+ for marshaller in all:
+ rhs = self.marshallers[marshaller]
+ if not marshaller.startswith('g_cclosure'):
+- print 'VOID:' + ','.join(rhs)
++ print('VOID:' + ','.join(rhs))
+
+ if __name__ == '__main__':
+ argv = sys.argv[1:]