diff options
author | drochner <drochner@pkgsrc.org> | 2012-10-17 13:52:03 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-10-17 13:52:03 +0000 |
commit | dd7c2e7b23f1a68519240b55c2f5bbd7c048aa0a (patch) | |
tree | 8b3b1cd32c54adb3669b7c8bbab2c28241c2722c /audio/rhythmbox/patches | |
parent | aacdfd8b7f3563ca67f74145a6ebd44c0f8a3ae0 (diff) | |
download | pkgsrc-dd7c2e7b23f1a68519240b55c2f5bbd7c048aa0a.tar.gz |
fix pygtk detection with python>=2.6.6
Diffstat (limited to 'audio/rhythmbox/patches')
-rw-r--r-- | audio/rhythmbox/patches/patch-ah | 15 |
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 (); |