diff options
Diffstat (limited to 'audio/mpc/files')
-rw-r--r-- | audio/mpc/files/patch-src-command.c--gcc295 | 16 | ||||
-rw-r--r-- | audio/mpc/files/patch-src-util.c::gcc295 | 19 |
2 files changed, 16 insertions, 19 deletions
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); - |