diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-06-14 00:58:45 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-06-14 00:58:45 +0000 |
commit | 5d5b788f8bbe7d110e636dcf44ce1245b9f161a9 (patch) | |
tree | 8858d933340c56ec1affc9023acd5a53ab5b5632 /audio/mpc | |
parent | 710157ec81dea7127a0571967e2fcc0d2090a11f (diff) | |
download | pkgsrc-5d5b788f8bbe7d110e636dcf44ce1245b9f161a9.tar.gz |
Fix C99-isms to make this package compile with gcc 2.95.
Diffstat (limited to 'audio/mpc')
-rw-r--r-- | audio/mpc/distinfo | 3 | ||||
-rw-r--r-- | audio/mpc/patches/patch-ab | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/mpc/distinfo b/audio/mpc/distinfo index e5147da8617..af621055721 100644 --- a/audio/mpc/distinfo +++ b/audio/mpc/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/06/01 03:35:21 simonb Exp $ +$NetBSD: distinfo,v 1.6 2005/06/14 01:34:54 kristerw Exp $ SHA1 (mpc-0.11.2.tar.gz) = b318ffdf4d27c14f761070b83dec3a3433612586 RMD160 (mpc-0.11.2.tar.gz) = 823eca5e82fb4b2f4d219d70b176673575576a14 Size (mpc-0.11.2.tar.gz) = 103483 bytes SHA1 (patch-aa) = c013d21aae786eb2aa2c562f29d9e5a84150995f +SHA1 (patch-ab) = 9fd058c97c37fac4de1189efe3ba365a1a94ffba 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 ) { + |