aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-04-28 08:32:23 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-04-28 08:32:23 +0000
commit4b54e19fce92e89aa31795820fa0f7a1ac64f2c8 (patch)
treec8a63fe3b180b9b91f441d1e1565f124dcba5013 /audio
parentd1c53397c2a14ce45323fd00c66f4a45eff8466e (diff)
downloadports-4b54e19fce92e89aa31795820fa0f7a1ac64f2c8.tar.gz
ports-4b54e19fce92e89aa31795820fa0f7a1ac64f2c8.zip
Notes
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 b68f13a14516..1acedf43d33e 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 000000000000..bac89b632e86
--- /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 000000000000..37e70d61a38a
--- /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;