Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 22:37:22 +0100
From:      Mark Daniel Reidel <ports@mark.reidel.info>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/78709: [MAINTAINER] audio/mpc: update to 0.11.2
Message-ID:  <42336112.50700@mark.reidel.info>
In-Reply-To: <200503120815.j2C8FW3v064222@freefall.freebsd.org>
References:  <200503120815.j2C8FW3v064222@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000201040705000206000402
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Please try the attached patch. Since I don't hav a 4.X system at hand, I 
cannot say if there are more problems of this kind.

--------------000201040705000206000402
Content-Type: text/plain;
 name="patch-src-command.c::gcc295"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-src-command.c::gcc295"

--- src/command.c	Sat Mar 12 22:32:11 2005
+++ src/command.c	Sat Mar 12 22:32:43 2005
@@ -183,10 +183,12 @@
 int cmd_crop( int argc, char ** argv, mpd_Connection * conn )
 {
 
+	int length;
+
 	mpd_Status *status;
 	status = getStatus( conn );
 
-	int length = ( status->playlistLength - 1 );
+	length = ( status->playlistLength - 1 );
 
 	if( status->playlistLength == 0 ) {
 

--------------000201040705000206000402--



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