Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2012 23:10:11 GMT
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Fwd: Re: ports/164766: patch daap.c for new version of itunes
Message-ID:  <201202042310.q14NABUH084357@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/164766; it has been noted by GNATS.

From: Michael Scheidell <scheidell@FreeBSD.org>
To: <bug-followup@FreeBSD.org>
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 <mark@foster.cc>
 To: 	<scheidell@FreeBSD.org>
 CC: 	<freebsd-ports-bugs@FreeBSD.org>
 
 
 
 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/
 
 
 
 
 --------------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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202042310.q14NABUH084357>