summaryrefslogtreecommitdiff
path: root/audio/mpc/patches
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-06-14 00:58:45 +0000
committerkristerw <kristerw>2005-06-14 00:58:45 +0000
commit5f4d28e581474a27bdf85b19cbbc73033efe0a56 (patch)
tree8858d933340c56ec1affc9023acd5a53ab5b5632 /audio/mpc/patches
parent058928c31af48eb8204dc4af3c43e8e1572eff29 (diff)
downloadpkgsrc-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-ab17
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 ) {
+