summaryrefslogtreecommitdiff
path: root/audio/mpc
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-06-14 00:58:45 +0000
committerkristerw <kristerw>2005-06-14 00:58:45 +0000
commit27c42cf84c9d4095f7d949d53d7400c4f024fc40 (patch)
tree8858d933340c56ec1affc9023acd5a53ab5b5632 /audio/mpc
parent7f661f2a3810db7ab0caf1e1c300acda71076aee (diff)
downloadpkgsrc-27c42cf84c9d4095f7d949d53d7400c4f024fc40.tar.gz
Fix C99-isms to make this package compile with gcc 2.95.
Diffstat (limited to 'audio/mpc')
-rw-r--r--audio/mpc/distinfo3
-rw-r--r--audio/mpc/patches/patch-ab17
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 ) {
+