- Update to 0.11.2

PR:		ports/78709
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2005-03-13 10:17:14 +00:00
parent 3167a10fb9
commit b0f8e1f2c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131075
5 changed files with 28 additions and 30 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= mpc
PORTVERSION= 0.11.0
PORTVERSION= 0.11.2
CATEGORIES= audio ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= musicpd
MASTER_SITES= http://mercury.chem.pitt.edu/~shank/
MAINTAINER= ports@mark.reidel.info
COMMENT= Command line client for the musicpd
@ -32,6 +31,14 @@ CONFIGURE_ARGS+=--disable-iconv
.else
USE_ICONV= yes
.endif
PLIST_FILES=bin/mpc
PLIST_DIRS=%%EXAMPLESDIR%%
PLIST_FILES+=%%EXAMPLESDIR%%/mpc-bashrc
.ifndef(NOPORTDOCS)
PLIST_DIRS+=%%DOCSDIR%%
PLIST_FILES+=%%DOCSDIR%%/AUTHORS
PLIST_FILES+=%%DOCSDIR%%/README
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin/

View File

@ -1,2 +1,2 @@
MD5 (mpc-0.11.0.tar.gz) = 7b58088f3ceba47b6466d1226993ad99
SIZE (mpc-0.11.0.tar.gz) = 163502
MD5 (mpc-0.11.2.tar.gz) = c8411da7936662312cf9483f3490e285
SIZE (mpc-0.11.2.tar.gz) = 103483

View File

@ -0,0 +1,16 @@
--- 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 ) {

View File

@ -1,19 +0,0 @@
--- src/util.c.orig Fri Jun 18 08:53:42 2004
+++ src/util.c Fri Jun 18 08:53:58 2004
@@ -125,13 +125,13 @@
* the number in any other way for that matter */
int parse_songnum(const char * str, int * ret)
{
+ int song;
+ char * endptr;
+
if(!str)
return 0;
if(*str == '#')
str++;
-
- int song;
- char * endptr;
song = strtol(str, &endptr, 10);

View File

@ -1,6 +0,0 @@
bin/mpc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/mpc-bashrc
@dirrm %%EXAMPLESDIR%%