aboutsummaryrefslogtreecommitdiff
path: root/audio/sonata
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-08-03 11:20:55 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-08-03 11:20:55 +0000
commitb10cea9165dfb335d965a01d5ba1f7d6a34fdf4b (patch)
tree0f6bacae5b8bc7b8012d82b3dc20d25321baecbc /audio/sonata
parentf0ac650bf46614d96b4dfbc4f51c8e37a49b1ec5 (diff)
downloadports-b10cea9165dfb335d965a01d5ba1f7d6a34fdf4b.tar.gz
ports-b10cea9165dfb335d965a01d5ba1f7d6a34fdf4b.zip
Notes
Diffstat (limited to 'audio/sonata')
-rw-r--r--audio/sonata/Makefile2
-rw-r--r--audio/sonata/files/patch-sonata_main.py10
2 files changed, 11 insertions, 1 deletions
diff --git a/audio/sonata/Makefile b/audio/sonata/Makefile
index bf08b2d44470..5e37a698bf37 100644
--- a/audio/sonata/Makefile
+++ b/audio/sonata/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sonata
PORTVERSION= 1.6.2.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= audio python
MASTER_SITES= http://codingteam.net/project/sonata/upload/releases/
diff --git a/audio/sonata/files/patch-sonata_main.py b/audio/sonata/files/patch-sonata_main.py
new file mode 100644
index 000000000000..34c009678bcb
--- /dev/null
+++ b/audio/sonata/files/patch-sonata_main.py
@@ -0,0 +1,10 @@
+--- sonata/main.py.orig 2013-08-03 13:13:21.000000000 +0200
++++ sonata/main.py 2013-08-03 13:14:12.000000000 +0200
+@@ -3400,4 +3400,7 @@ class Base(object):
+ self.on_currsong_notify(force_popup=True)
+
+ def main(self):
++ gtk.gdk.threads_init()
++ gtk.gdk.threads_enter()
+ gtk.main()
++ gtk.gdk.threads_leave()