- Backport a word around from xmms2-devel.git to make the python bindings

work with pyrex 0.9.4 (which is currently in ports)
- Bumb PORTREVISION to make sure it gets rebuilt

Added file(s):
- files/patch-src_clients_lib_python_xmmsclient.pyx

PR:		ports/97675
Submitted by:	maintainer
Approved by:	tmclaugh (mentor)
This commit is contained in:
Ion-Mihai Tetcu 2006-05-24 22:07:58 +00:00
parent 9881b0413b
commit bf661166e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163322
2 changed files with 13 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= xmms2
PORTVERSION= 0.2.d.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -0,0 +1,12 @@
--- src/clients/lib/python/xmmsclient.pyx.orig Tue May 23 01:02:46 2006
+++ src/clients/lib/python/xmmsclient.pyx Tue May 23 01:03:14 2006
@@ -273,7 +273,8 @@
if k[1] == item:
return v
try:
- return dict.__getitem__(self, (src, item))
+ x = dict.__getitem__(self, (src, item))
+ return x
except KeyError:
pass
raise KeyError, item