summaryrefslogtreecommitdiff
path: root/comms/echolinux/files/patch-echolinux_vox.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-04 23:28:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-04 23:28:32 +0000
commitb764749dc7ba4198709de1e40b66ebda8af8e75b (patch)
treeae6a68b4db9c757974eb0263b92f0e28e4cc4e73 /comms/echolinux/files/patch-echolinux_vox.c
parentPlease welcome erwin to the ports tree. (diff)
Add echolinux, an EchoLink client for UNIX.
PR: ports/68587 Submitted by: Diane Bruce <db@night.db.net>
Notes
Notes: svn path=/head/; revision=112929
Diffstat (limited to 'comms/echolinux/files/patch-echolinux_vox.c')
-rw-r--r--comms/echolinux/files/patch-echolinux_vox.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/echolinux/files/patch-echolinux_vox.c b/comms/echolinux/files/patch-echolinux_vox.c
new file mode 100644
index 000000000000..1d0e83647de6
--- /dev/null
+++ b/comms/echolinux/files/patch-echolinux_vox.c
@@ -0,0 +1,11 @@
+--- echolinux/vox.c.orig Tue Feb 3 01:12:09 2004
++++ echolinux/vox.c Fri Jul 2 00:58:47 2004
+@@ -546,7 +546,7 @@
+ timeout.tv_sec = 1;
+ timeout.tv_usec = 0;
+ for(i=0;i<4;i++){
+- temp = &(voicePacket->data);
++ temp = (unsigned char *)&(voicePacket->data);
+ gsm_decode(gsmh, temp+(i*33), sbuff);
+ ioctl(audiofd, SNDCTL_DSP_GETOSPACE, &info);
+ while(info.bytes < 320){