summaryrefslogtreecommitdiff
path: root/audio/rhythmbox/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-10-17 13:52:03 +0000
committerdrochner <drochner@pkgsrc.org>2012-10-17 13:52:03 +0000
commitdd7c2e7b23f1a68519240b55c2f5bbd7c048aa0a (patch)
tree8b3b1cd32c54adb3669b7c8bbab2c28241c2722c /audio/rhythmbox/patches
parentaacdfd8b7f3563ca67f74145a6ebd44c0f8a3ae0 (diff)
downloadpkgsrc-dd7c2e7b23f1a68519240b55c2f5bbd7c048aa0a.tar.gz
fix pygtk detection with python>=2.6.6
Diffstat (limited to 'audio/rhythmbox/patches')
-rw-r--r--audio/rhythmbox/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/rhythmbox/patches/patch-ah b/audio/rhythmbox/patches/patch-ah
new file mode 100644
index 00000000000..d653d4ffe90
--- /dev/null
+++ b/audio/rhythmbox/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2012/10/17 13:52:03 drochner Exp $
+
+gnome bug #617587
+
+--- shell/rb-python-module.c.orig 2010-03-25 00:10:15.000000000 +0000
++++ shell/rb-python-module.c
+@@ -169,7 +169,7 @@ rb_python_module_init_python (void)
+
+ mdict = PyModule_GetDict (pygtk);
+ require = PyDict_GetItemString (mdict, "require");
+- PyObject_CallObject (require, Py_BuildValue ("(S)", PyString_FromString ("2.8")));
++ PyObject_CallObject (require, Py_BuildValue ("(S)", PyString_FromString ("2.0")));
+
+ /* import gobject */
+ init_pygobject ();