pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mbone/rat/patches Patches for preprocessor misusage fix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/702a3e2c6b05
branches:  trunk
changeset: 462707:702a3e2c6b05
user:      rtr <rtr%pkgsrc.org@localhost>
date:      Fri Oct 10 04:46:24 2003 +0000

description:
Patches for preprocessor misusage fix.

diffstat:

 mbone/rat/patches/patch-ai |  11 +++++++++++
 mbone/rat/patches/patch-aj |  16 ++++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

diffs (35 lines):

diff -r bb2c5bda2219 -r 702a3e2c6b05 mbone/rat/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/rat/patches/patch-ai        Fri Oct 10 04:46:24 2003 +0000
@@ -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 -r bb2c5bda2219 -r 702a3e2c6b05 mbone/rat/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/rat/patches/patch-aj        Fri Oct 10 04:46:24 2003 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index