diff options
author | kristerw <kristerw> | 2005-06-14 00:58:45 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2005-06-14 00:58:45 +0000 |
commit | 5f4d28e581474a27bdf85b19cbbc73033efe0a56 (patch) | |
tree | 8858d933340c56ec1affc9023acd5a53ab5b5632 /audio/mpc/patches | |
parent | 058928c31af48eb8204dc4af3c43e8e1572eff29 (diff) | |
download | pkgsrc-5f4d28e581474a27bdf85b19cbbc73033efe0a56.tar.gz |
Fix C99-isms to make this package compile with gcc 2.95.
Diffstat (limited to 'audio/mpc/patches')
-rw-r--r-- | audio/mpc/patches/patch-ab | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/mpc/patches/patch-ab b/audio/mpc/patches/patch-ab new file mode 100644 index 00000000000..abb385873b7 --- /dev/null +++ b/audio/mpc/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.4 2005/06/14 01:34:54 kristerw Exp $ + +--- src/command.c.orig Tue Jun 14 03:30:30 2005 ++++ src/command.c Tue Jun 14 03:32:26 2005 +@@ -183,10 +183,11 @@ + 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 ) { + |