summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorrtr <rtr>2003-10-10 04:46:24 +0000
committerrtr <rtr>2003-10-10 04:46:24 +0000
commit05085c7a257f432270859bf574b70879071fa95d (patch)
treed05a9f4a535a5e7c5fa3f0a19982aae27b05592a /mbone
parente890242ab3391e4362a0afb1d4ea52db35a0eee3 (diff)
downloadpkgsrc-05085c7a257f432270859bf574b70879071fa95d.tar.gz
Patches for preprocessor misusage fix.
Diffstat (limited to 'mbone')
-rw-r--r--mbone/rat/patches/patch-ai11
-rw-r--r--mbone/rat/patches/patch-aj16
2 files changed, 27 insertions, 0 deletions
diff --git a/mbone/rat/patches/patch-ai b/mbone/rat/patches/patch-ai
new file mode 100644
index 00000000000..3f0f04a53e6
--- /dev/null
+++ b/mbone/rat/patches/patch-ai
@@ -0,0 +1,11 @@
+--- src/audio.c.orig 2003-10-08 22:19:27.000000000 +1000
++++ src/audio.c 2003-10-08 22:19:40.000000000 +1000
+@@ -297,7 +297,7 @@
+ spi->loop_delay = 5000;
+ #else
+ spi->loop_delay = 1500;
+-#endif WIN32
++#endif /* WIN32 */
+ zerocount++;
+ return (0);
+ } else {
diff --git a/mbone/rat/patches/patch-aj b/mbone/rat/patches/patch-aj
new file mode 100644
index 00000000000..137fceea4c6
--- /dev/null
+++ b/mbone/rat/patches/patch-aj
@@ -0,0 +1,16 @@
+--- src/main.c.orig 2003-10-08 22:35:32.000000000 +1000
++++ src/main.c 2003-10-08 22:49:06.000000000 +1000
+@@ -98,11 +98,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;