public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/xmms2/files: xmms2-0.8-cython-0.19.1.patch
@ 2013-08-05 19:41 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2013-08-05 19:41 UTC (permalink / raw
  To: gentoo-commits

slyfox      13/08/05 19:41:46

  Added:                xmms2-0.8-cython-0.19.1.patch
  Log:
  Fix deprecated medialib API (new cython build breakage). Reported by ChunFeng.
  
  (Portage version: 2.2.0_alpha191_p33/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

Revision  Changes    Path
1.1                  media-sound/xmms2/files/xmms2-0.8-cython-0.19.1.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xmms2/files/xmms2-0.8-cython-0.19.1.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xmms2/files/xmms2-0.8-cython-0.19.1.patch?rev=1.1&content-type=text/plain

Index: xmms2-0.8-cython-0.19.1.patch
===================================================================
From 6d6d7a7ee38c8e3f57242f2510e06a03f4e7e249 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Mon, 5 Aug 2013 22:29:46 +0300
Subject: [PATCH] unbreak xmms2 building on cython-0.19.1

Error compiling Cython file:
------------------------------------------------------------
...
        def medialib_path_import(self, path, cb = None, encoded=False):
                """
                @deprecated
                Use medialib_import_path(path, ...) instead
                """
                return self.medialib_import_path(self, path, cb=cb, encoded=encoded)
                                                ^

Reported-by: ChunFeng
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 src/clients/lib/python/xmmsapi.pyx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/clients/lib/python/xmmsapi.pyx b/src/clients/lib/python/xmmsapi.pyx
index 501a068..863db88 100644
--- a/src/clients/lib/python/xmmsapi.pyx
+++ b/src/clients/lib/python/xmmsapi.pyx
@@ -1364,7 +1364,7 @@ cdef class XmmsApi(XmmsCore):
 		@deprecated
 		Use medialib_import_path(path, ...) instead
 		"""
-		return self.medialib_import_path(self, path, cb=cb, encoded=encoded)
+		return self.medialib_import_path(path, cb=cb, encoded=encoded)
 
 	@deprecated
 	def medialib_path_import_encoded(self, path, cb = None):
@@ -1372,7 +1372,7 @@ cdef class XmmsApi(XmmsCore):
 		@deprecated
 		Use medialib_import_path(path, ..., encoded=True) instead
 		"""
-		return self.medialib_import_path(self, path, cb=cb, encoded=True)
+		return self.medialib_import_path(path, cb=cb, encoded=True)
 
 	cpdef XmmsResult medialib_property_set(self, int id, key, value, source=None, cb=None):
 		"""
-- 
1.8.3.2






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-05 19:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 19:41 [gentoo-commits] gentoo-x86 commit in media-sound/xmms2/files: xmms2-0.8-cython-0.19.1.patch Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox