diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-13 10:17:14 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-13 10:17:14 +0000 |
commit | b0f8e1f2c0e98855a4d8eefcfdb41efb0b1deb29 (patch) | |
tree | 411fe54e1330415ae48c08bc9779a19fefb399cf /audio/mpc | |
parent | 3167a10fb949ed21797f447343f5d3770a32e0dd (diff) | |
download | ports-b0f8e1f2c0e98855a4d8eefcfdb41efb0b1deb29.tar.gz ports-b0f8e1f2c0e98855a4d8eefcfdb41efb0b1deb29.zip |
- Update to 0.11.2
PR: ports/78709
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=131075
Diffstat (limited to 'audio/mpc')
-rw-r--r-- | audio/mpc/Makefile | 13 | ||||
-rw-r--r-- | audio/mpc/distinfo | 4 | ||||
-rw-r--r-- | audio/mpc/files/patch-src-command.c--gcc295 | 16 | ||||
-rw-r--r-- | audio/mpc/files/patch-src-util.c::gcc295 | 19 | ||||
-rw-r--r-- | audio/mpc/pkg-plist | 6 |
5 files changed, 28 insertions, 30 deletions
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile index 2df0124e2a31..abda9cc3ac7f 100644 --- a/audio/mpc/Makefile +++ b/audio/mpc/Makefile @@ -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/ diff --git a/audio/mpc/distinfo b/audio/mpc/distinfo index eebaa63dc360..d55c157fa17f 100644 --- a/audio/mpc/distinfo +++ b/audio/mpc/distinfo @@ -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 diff --git a/audio/mpc/files/patch-src-command.c--gcc295 b/audio/mpc/files/patch-src-command.c--gcc295 new file mode 100644 index 000000000000..4f1296b82cfc --- /dev/null +++ b/audio/mpc/files/patch-src-command.c--gcc295 @@ -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 ) { + diff --git a/audio/mpc/files/patch-src-util.c::gcc295 b/audio/mpc/files/patch-src-util.c::gcc295 deleted file mode 100644 index 7c2275170d8a..000000000000 --- a/audio/mpc/files/patch-src-util.c::gcc295 +++ /dev/null @@ -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); - diff --git a/audio/mpc/pkg-plist b/audio/mpc/pkg-plist deleted file mode 100644 index d5969051b382..000000000000 --- a/audio/mpc/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/mpc -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%EXAMPLESDIR%%/mpc-bashrc -@dirrm %%EXAMPLESDIR%% |