diff options
author | rtr <rtr@pkgsrc.org> | 2003-10-10 04:46:24 +0000 |
---|---|---|
committer | rtr <rtr@pkgsrc.org> | 2003-10-10 04:46:24 +0000 |
commit | 5597e9a010312cb89bc9695237c976fb903c7563 (patch) | |
tree | d05a9f4a535a5e7c5fa3f0a19982aae27b05592a /mbone | |
parent | 6a5ac833bf27f2f4f49d6ff8a91e69e30ab76486 (diff) | |
download | pkgsrc-5597e9a010312cb89bc9695237c976fb903c7563.tar.gz |
Patches for preprocessor misusage fix.
Diffstat (limited to 'mbone')
-rw-r--r-- | mbone/rat/patches/patch-ai | 11 | ||||
-rw-r--r-- | mbone/rat/patches/patch-aj | 16 |
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; |