Date: Sat, 04 Feb 2012 14:22:46 -0800 From: Mark Foster <mark@foster.cc> To: scheidell@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/164766: patch daap.c for new version of itunes Message-ID: <4F2DAFB6.5030104@foster.cc> In-Reply-To: <201202042204.q14M4dBY029501@freefall.freebsd.org> References: <201202042204.q14M4dBY029501@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030006060007070207030300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 02/04/2012 02:04 PM, scheidell@FreeBSD.org wrote: > Synopsis: patch daap.c for new version of itunes > > State-Changed-From-To: open->feedback > State-Changed-By: scheidell > State-Changed-When: Sat Feb 4 22:04:38 UTC 2012 > State-Changed-Why: > Patch got horribly mangled, and the actual port is not identified. is > this for audio/firefly ? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=164766 New patch attached. Yes for audio/firefly. -- Mark D. Foster <mark@foster.cc> http://mark.foster.cc/ --------------030006060007070207030300 Content-Type: text/x-patch; name="firefly.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="firefly.patch" diff -ruN firefly/Makefile firefly_new/Makefile --- firefly/Makefile 2011-09-23 15:20:59.000000000 -0700 +++ firefly_new/Makefile 2011-12-25 18:19:20.000000000 -0800 @@ -6,7 +6,7 @@ PORTNAME= firefly PORTVERSION= 1696 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://nightlies.fireflymediaserver.org/nightlies/svn-${PORTVERSION}/ \ http://www.magnesium.net/~mdf/distfiles/ diff -ruN firefly/files/patch-out-daap.c firefly_new/files/patch-out-daap.c --- firefly/files/patch-out-daap.c 1969-12-31 16:00:00.000000000 -0800 +++ firefly_new/files/patch-out-daap.c 2011-12-18 20:22:05.000000000 -0800 @@ -0,0 +1,25 @@ +@DPATCH@ +--- src/plugins/out-daap.c 2007-10-13 15:10:06.000000000 -0700 ++++ src/plugins/out-daap.c.new 2011-10-16 18:08:53.207764000 -0700 +@@ -1392,11 +1393,9 @@ + + size = sizeof(servername); + pi_server_name(servername,&size); +- // supports_update = conf_get_int("daap","supports_update",1); ++ supports_update = pi_conf_get_int("daap","supports_update",1); + + actual_length=139 + (int) strlen(servername); +- if(!supports_update) +- actual_length -= 9; + + if(actual_length > sizeof(server_info)) { + pi_log(E_FATAL,"Server name too long.\n"); +@@ -1434,6 +1433,8 @@ + current += dmap_add_int(current,"msdc",1); /* 12 */ + + if(supports_update) ++ current += dmap_add_char(current,"msup",1); /* 9 */ ++ else + current += dmap_add_char(current,"msup",0); /* 9 */ + + out_daap_output_start(pwsc,ppi,actual_length); --------------030006060007070207030300--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2DAFB6.5030104>