From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 4 23:10:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6B23106564A for ; Sat, 4 Feb 2012 23:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A701B8FC08 for ; Sat, 4 Feb 2012 23:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q14NAB1n084358 for ; Sat, 4 Feb 2012 23:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q14NABUH084357; Sat, 4 Feb 2012 23:10:11 GMT (envelope-from gnats) Date: Sat, 4 Feb 2012 23:10:11 GMT Message-Id: <201202042310.q14NABUH084357@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Michael Scheidell Cc: Subject: Fwd: Re: ports/164766: patch daap.c for new version of itunes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Scheidell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 23:10:11 -0000 The following reply was made to PR ports/164766; it has been noted by GNATS. From: Michael Scheidell To: Cc: Subject: Fwd: Re: ports/164766: patch daap.c for new version of itunes Date: Sat, 4 Feb 2012 18:03:01 -0500 --------------030800090307080608080104 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit maintainers patch did not make it to GNATS: -------- Original Message -------- Subject: Re: ports/164766: patch daap.c for new version of itunes Date: Sat, 4 Feb 2012 14:22:46 -0800 From: Mark Foster To: CC: 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 http://mark.foster.cc/ --------------030800090307080608080104 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); --------------030800090307080608080104--