aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/rat30/Makefile2
-rw-r--r--audio/rat30/files/patch-Makefile_FreeBSD_69
-rw-r--r--audio/rat30/files/patch-src:main.c16
3 files changed, 26 insertions, 1 deletions
diff --git a/audio/rat30/Makefile b/audio/rat30/Makefile
index b68f13a1451..1acedf43d33 100644
--- a/audio/rat30/Makefile
+++ b/audio/rat30/Makefile
@@ -27,7 +27,7 @@ LATEST_LINK= rat30
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
+.if ${OSVERSION} >= 700000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
diff --git a/audio/rat30/files/patch-Makefile_FreeBSD_6 b/audio/rat30/files/patch-Makefile_FreeBSD_6
new file mode 100644
index 00000000000..bac89b632e8
--- /dev/null
+++ b/audio/rat30/files/patch-Makefile_FreeBSD_6
@@ -0,0 +1,9 @@
+--- Makefile_FreeBSD_6.orig Sun Oct 20 14:03:11 2002
++++ Makefile_FreeBSD_6 Sun Oct 20 14:03:06 2002
+@@ -0,0 +1,6 @@
++TCL_INC = /usr/local/include/tcl8.2
++TK_INC = /usr/local/include/tk8.2
++INCS = -I/usr/X11R6/include \
++ -I$(TCL_INC)/generic -I$(TK_INC)/generic
++LDLIBS = -L/usr/local/lib \
++ -L/usr/X11R6/lib -ltk82 -ltcl82 -lXext -lX11 -lm
diff --git a/audio/rat30/files/patch-src:main.c b/audio/rat30/files/patch-src:main.c
new file mode 100644
index 00000000000..37e70d61a38
--- /dev/null
+++ b/audio/rat30/files/patch-src:main.c
@@ -0,0 +1,16 @@
+--- src/main.c.orig Fri Feb 3 00:23:21 2006
++++ src/main.c Fri Feb 3 00:23:37 2006
+@@ -118,11 +118,11 @@
+ NEW_QUEUE(pckt_queue_struct, rtcp_pckt_queue)
+ NEW_QUEUE(rx_queue_struct, rx_unit_queue)
+
+-#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q##[0]; \
++#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q[0]; \
+ Q##_ptr[0]->queue_empty_flag = 1; \
+ Q##_ptr[0]->head_ptr = NULL; \
+ Q##_ptr[0]->tail_ptr = NULL; \
+- Q##_ptr[1] = &Q##[1]; \
++ Q##_ptr[1] = &Q[1]; \
+ Q##_ptr[1]->queue_empty_flag = 1; \
+ Q##_ptr[1]->head_ptr = NULL; \
+ Q##_ptr[1]->tail_ptr = NULL;