summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsimonb <simonb>2004-09-07 08:05:50 +0000
committersimonb <simonb>2004-09-07 08:05:50 +0000
commit2c1313d171bd528b8eca4f4bbef088e950f4fd1b (patch)
treebd90db52e949364d7f5f617f87326ccca34c3a13 /audio
parent298837a9ed94f18da4c8f28c12d6a0edfec5b622 (diff)
downloadpkgsrc-2c1313d171bd528b8eca4f4bbef088e950f4fd1b.tar.gz
Pad out the time display on status line with an extra space so that the
closing ']' doesn't disappear. Problem report and suggested fix sent on to musicpd folks.
Diffstat (limited to 'audio')
-rw-r--r--audio/ncmpc/distinfo3
-rw-r--r--audio/ncmpc/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo
index 222df386203..d1cfdec78cc 100644
--- a/audio/ncmpc/distinfo
+++ b/audio/ncmpc/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/07/14 10:47:57 grant Exp $
+$NetBSD: distinfo,v 1.4 2004/09/07 08:05:50 simonb Exp $
SHA1 (ncmpc-0.11.0.tar.gz) = 5adab98537fdcd88a2296b4ef738614be81d0e83
Size (ncmpc-0.11.0.tar.gz) = 242626 bytes
SHA1 (patch-aa) = 3288d2b41ed02791639478aec9ac30fe2ee6eef0
+SHA1 (patch-ab) = 5e2a694368fca547ceeda409d5e64dfaf8c24cc0
diff --git a/audio/ncmpc/patches/patch-ab b/audio/ncmpc/patches/patch-ab
new file mode 100644
index 00000000000..dd393f45c54
--- /dev/null
+++ b/audio/ncmpc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/09/07 08:05:50 simonb Exp $
+
+--- src/screen.c.orig 2004-07-09 17:49:42.000000000 +1000
++++ src/screen.c
+@@ -267,7 +267,7 @@ paint_status_window(mpdclient_t *c)
+ if( c->song && seek_id == c->song->id )
+ elapsedTime = seek_target_time;
+ snprintf(screen->buf, screen->buf_size,
+- " [%i:%02i/%i:%02i]",
++ " [%i:%02i/%i:%02i] ",
+ elapsedTime/60, elapsedTime%60,
+ status->totalTime/60, status->totalTime%60 );
+ }