Date: Tue, 23 May 2006 01:08:12 -0400 (EDT) From: Alexander Botero-Lowry <alex@foxybanana.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: itetcu@FreeBSD.org, alex@foxybanana.com Subject: ports/97675: [PATCH] audio/xmms2: Fix build with Pyrex 0.9.4 Message-ID: <200605230508.k4N58CeH026190@Laptop.mine.box> Resent-Message-ID: <200605230510.k4N5AJ3V008606@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97675 >Category: ports >Synopsis: [PATCH] audio/xmms2: Fix build with Pyrex 0.9.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue May 23 05:10:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexander Botero-Lowry >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 6 22:21:39 PDT >Description: - 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 Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- xmms2-0.2.d.4_5.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/xmms2/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 26 Apr 2006 07:09:15 -0000 1.10 +++ Makefile 23 May 2006 05:06:47 -0000 @@ -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} Index: files/patch-src_clients_lib_python_xmmsclient.pyx =================================================================== RCS file: files/patch-src_clients_lib_python_xmmsclient.pyx diff -N files/patch-src_clients_lib_python_xmmsclient.pyx --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src_clients_lib_python_xmmsclient.pyx 23 May 2006 05:06:47 -0000 @@ -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 --- xmms2-0.2.d.4_5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605230508.k4N58CeH026190>