summaryrefslogtreecommitdiff
path: root/media-sound/jack/files/jack-3.1.1-python26.patch
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2017-02-18 15:42:40 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-10 12:07:59 +0100
commit646f4349916b798eae254248d85ece070f66ef25 (patch)
tree85e83bc2c22412ced189b3456447ba6a9f7d3bbf /media-sound/jack/files/jack-3.1.1-python26.patch
parent9884a9d4d07cf561dc1b947f638114731367534b (diff)
downloadgentoo-646f4349916b798eae254248d85ece070f66ef25.tar.gz
gentoo-646f4349916b798eae254248d85ece070f66ef25.tar.xz
media-sound/jack: fix #298850, new EAPI and eclass
- EAPI 6 - replace eclass distutils with distutils-r1 - fix ebuild python module dependencies - add proxy maintaintership - add functional enhancement: add cddb server freedb.musicbrainz.org Bug: https://bugs.gentoo.org/show_bug.cgi?id=298850 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4156
Diffstat (limited to 'media-sound/jack/files/jack-3.1.1-python26.patch')
-rw-r--r--media-sound/jack/files/jack-3.1.1-python26.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/jack/files/jack-3.1.1-python26.patch b/media-sound/jack/files/jack-3.1.1-python26.patch
new file mode 100644
index 00000000000..c3e0a0c9f85
--- /dev/null
+++ b/media-sound/jack/files/jack-3.1.1-python26.patch
@@ -0,0 +1,12 @@
+--- a/jack_functions.py
++++ b/jack_functions.py
+@@ -219,9 +219,9 @@
+ ff = blocks % CDDA_BLOCKS_PER_SECOND
+ return mm, ss, ff, blocks
+
+-def starts_with(str, with):
+- "checks whether str starts with with"
+- return str[0:len(with)] == with
++def starts_with(str, withstr):
++ "checks whether str starts with withstr"
++ return str[0:len(withstr)] == withstr