summaryrefslogtreecommitdiff
path: root/audio/rat30/files
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-07-14 17:32:14 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-07-14 17:32:14 +0000
commitec7b6ca63f38467601aba2fcf6fa0aa747b49c06 (patch)
tree28500d6e2d0ff46236d72d8f0a61816af1000ee1 /audio/rat30/files
parent- Update to 1.10 (diff)
- Unbreak with gcc42
- Clean up a bit
Notes
Notes: svn path=/head/; revision=195593
Diffstat (limited to 'audio/rat30/files')
-rw-r--r--audio/rat30/files/patch-Makefile4
-rw-r--r--audio/rat30/files/patch-Makefile_FreeBSD_44
-rw-r--r--audio/rat30/files/patch-src__codec_encoder.c12
3 files changed, 16 insertions, 4 deletions
diff --git a/audio/rat30/files/patch-Makefile b/audio/rat30/files/patch-Makefile
index b244344647c8..58c49275a23d 100644
--- a/audio/rat30/files/patch-Makefile
+++ b/audio/rat30/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Sep 14 12:39:00 1999
-+++ Makefile Sat Mar 17 18:16:04 2007
+--- ./Makefile.orig 1999-09-14 14:39:00.000000000 +0400
++++ ./Makefile 2007-07-14 20:49:46.000000000 +0400
@@ -10,8 +10,8 @@
# -DDEBUG_RTP -DREPEAT
diff --git a/audio/rat30/files/patch-Makefile_FreeBSD_4 b/audio/rat30/files/patch-Makefile_FreeBSD_4
index e49649bfc175..61d20251f05d 100644
--- a/audio/rat30/files/patch-Makefile_FreeBSD_4
+++ b/audio/rat30/files/patch-Makefile_FreeBSD_4
@@ -1,5 +1,5 @@
---- Makefile_FreeBSD_4.org Mon May 7 13:07:46 2001
-+++ Makefile_FreeBSD_4 Mon May 7 13:03:51 2001
+--- ./Makefile_FreeBSD_4.orig 2007-07-14 20:49:46.000000000 +0400
++++ ./Makefile_FreeBSD_4 2007-07-14 20:49:46.000000000 +0400
@@ -0,0 +1,6 @@
+TCL_INC = ${LOCALBASE}/include/tcl8.2
+TK_INC = ${LOCALBASE}/include/tk8.2
diff --git a/audio/rat30/files/patch-src__codec_encoder.c b/audio/rat30/files/patch-src__codec_encoder.c
new file mode 100644
index 000000000000..7f940d8cafcb
--- /dev/null
+++ b/audio/rat30/files/patch-src__codec_encoder.c
@@ -0,0 +1,12 @@
+--- ./src/codec_encoder.c.orig 2007-07-14 20:50:06.000000000 +0400
++++ ./src/codec_encoder.c 2007-07-14 20:53:12.000000000 +0400
+@@ -48,7 +48,8 @@
+ int i;
+ sample *d;
+
+- d = (sample *)c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE);
++ c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE);
++ d = (sample *)c->data;
+ c->data_len = SAMPLES_PER_UNIT * BYTES_PER_SAMPLE;
+ for (i=0; i < SAMPLES_PER_UNIT; i++) {
+ *d++ = htons(*data);