aboutsummaryrefslogtreecommitdiffstats
path: root/net/rqm
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-09-30 01:44:26 +0800
committerfenner <fenner@FreeBSD.org>2002-09-30 01:44:26 +0800
commit00d24cd374d5971c87fad3683ec8c71831f253ac (patch)
treeface4c9f2c3fcce9f9a168ed250f88779b89dbf9 /net/rqm
parent75b421a6883fc95f2c2306ea49c73c7738cd86f1 (diff)
downloadfreebsd-ports-graphics-00d24cd374d5971c87fad3683ec8c71831f253ac.tar.gz
freebsd-ports-graphics-00d24cd374d5971c87fad3683ec8c71831f253ac.tar.zst
freebsd-ports-graphics-00d24cd374d5971c87fad3683ec8c71831f253ac.zip
Fix broken rqm port to work with more modern uclmmbase
Diffstat (limited to 'net/rqm')
-rw-r--r--net/rqm/files/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/rqm/files/patch-ab b/net/rqm/files/patch-ab
index 826bea2a47e..c6f546039ba 100644
--- a/net/rqm/files/patch-ab
+++ b/net/rqm/files/patch-ab
@@ -1,5 +1,14 @@
--- main.c.orig Wed Mar 8 08:32:07 2000
+++ main.c Wed Mar 8 08:32:28 2000
+@@ -67,7 +67,7 @@
+ }
+ }
+
+-static void rtp_callback(struct rtp *s, rtp_event *e)
++static void rqm_rtp_callback(struct rtp *s, rtp_event *e)
+ {
+ rtp_packet *p = (rtp_packet *) e->data;
+ rtcp_sr *sr = (rtcp_sr *) e->data;
@@ -177,7 +177,7 @@
char *addr;
char *port;
@@ -9,6 +18,15 @@
#ifdef WIN32
WSADATA WSAdata;
if (WSAStartup(WS_VERSION_TWO, &WSAdata) != 0 && WSAStartup(WS_VERSION_ONE, &WSAdata) != 0) {
+@@ -199,7 +199,7 @@
+ addr = (char *) strtok(argv[1], "/");
+ port = (char *) strtok(NULL, "\0");
+
+- rtp_session = rtp_init(addr, atoi(port), atoi(port), 15, 64000, rtp_callback, NULL);
++ rtp_session = rtp_init(addr, atoi(port), atoi(port), 15, 64000, rqm_rtp_callback, NULL);
+
+ /* Initialise the user interface... */
+ if (tcl_init(argc, argv) == FALSE) {
@@ -215,7 +215,7 @@
rtp_set_sdes(rtp_session, rtp_my_ssrc(rtp_session), RTCP_SDES_TOOL, VERSION, strlen(VERSION));