summaryrefslogtreecommitdiff
path: root/audio/moc/files/patch-server.c
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-28 23:46:49 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-28 23:46:49 +0000
commit634e76de2ca43635fc6ba62d1d66e8eda5f3bb0c (patch)
tree17610a266676fd7c1d0dfee5d61897a3789219b9 /audio/moc/files/patch-server.c
parent- Re-enable CJK patches (diff)
Add moc.
MOC (music on console) is a console audio player designed to be powerful and easy to use. MOC plays smoothly, regardless of system or I/O load, because it handles the output buffer in a separate thread. It does not cause gaps between files, because the next file to be played is pre-cached while playing the current file. Supported file formats are: MP3, Ogg Vorbis, FLAC, Musepack (mpc), Speex, WAVE, AIFF, AU, SVX, Sphere Nist WAV, IRCAM SF, Creative VOC. WWW: http://moc.daper.net/ PR: ports/84153 Submitted by: Integral <rzinkov@gmail.com>
Diffstat (limited to 'audio/moc/files/patch-server.c')
-rw-r--r--audio/moc/files/patch-server.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/moc/files/patch-server.c b/audio/moc/files/patch-server.c
new file mode 100644
index 000000000000..c97f8ee942f7
--- /dev/null
+++ b/audio/moc/files/patch-server.c
@@ -0,0 +1,12 @@
+--- server.c.orig Fri Jul 29 01:02:48 2005
++++ server.c Fri Jul 29 01:02:54 2005
+@@ -212,8 +212,8 @@
+
+ static void del_client (struct client *cli)
+ {
+- cli->socket = -1;
+ struct event *e;
++ cli->socket = -1;
+
+ /* Free the event queue - we can't just use event_queue_free(), because
+ * it can't free() the event's data. */