summaryrefslogtreecommitdiff
path: root/audio/liveice/patches/patch-ai
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-11-21 06:01:49 +0000
committerhubertf <hubertf>2000-11-21 06:01:49 +0000
commitcdf368461d5e62680a7e855f6eff2c0879c4ffc5 (patch)
treea926f7786d38c84d725a9e868d36d6612f44408c /audio/liveice/patches/patch-ai
parent9c5d51abb9525abf0521a20cdf4ab1dcd3f109bf (diff)
downloadpkgsrc-cdf368461d5e62680a7e855f6eff2c0879c4ffc5.tar.gz
Add liveice-0.20001121:
LiveIce is the source client for Icecast which encodes an mpeg stream for broadcast as it is created. Unlike clients such as Shout and IceDJ this permits the broadcast of live audio, rather than prerecorded mp3's. To start: 0. start icecast 1. find $HOME/mp3 -type f >playlist 2. liveiceconfigure.tk, save 3. In /bin/sh: liveice -M 2>/dev/null
Diffstat (limited to 'audio/liveice/patches/patch-ai')
-rw-r--r--audio/liveice/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/liveice/patches/patch-ai b/audio/liveice/patches/patch-ai
new file mode 100644
index 00000000000..24099d980e4
--- /dev/null
+++ b/audio/liveice/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1.1.1 2000/11/21 06:01:49 hubertf Exp $
+
+--- mixer.c.orig Tue May 30 13:30:56 2000
++++ mixer.c
+@@ -70,7 +70,7 @@
+ if(*new==NULL){
+ sprintf(mesg,"Adding New Channel %s",name);
+ write_message(mesg,0);
+- *new=malloc(sizeof(channel));
++ *new=calloc(1, sizeof(channel));
+ strncpy((*new)->name,name,63);
+ (*new)->curnt=mixer.t_list;
+ (*new)->volume=1.0;