regen patches and fix preproc issues.

This commit is contained in:
espie 2004-01-05 00:05:04 +00:00
parent c721156f22
commit cd953f760c
3 changed files with 31 additions and 4 deletions

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-src_audio_mix_h,v 1.1 2004/01/05 00:05:04 espie Exp $
--- src/audio_mix.h.orig 2004-01-05 01:01:23.000000000 +0100
+++ src/audio_mix.h 2004-01-05 01:01:27.000000000 +0100
@@ -46,4 +46,4 @@ void mix_audio(int16 *v0, int16 *v1, si
#ifdef WIN32
/* GAS does not support mmx for Linux and FreeBSD yet :-( */
void mmx_mix_audio(int16 *v0, int16 *v1, size_t len);
-#endif WIN32
\ No newline at end of file
+#endif /* WIN32 */

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_gsm_destroy_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/gsm_destroy.c.orig Mon Mar 1 18:23:51 1999
+++ src/gsm_destroy.c Fri Mar 16 20:49:24 2001
$OpenBSD: patch-src_gsm_destroy_c,v 1.2 2004/01/05 00:05:04 espie Exp $
--- src/gsm_destroy.c.orig 1999-03-01 18:23:51.000000000 +0100
+++ src/gsm_destroy.c 2004-01-05 01:01:09.000000000 +0100
@@ -6,7 +6,7 @@
/* $Header: /home/cvs/ports/mbone/rat/patches/Attic/patch-src_gsm_destroy_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $ */
/* $Header: /home/cvs/ports/mbone/rat/patches/Attic/patch-src_gsm_destroy_c,v 1.2 2004/01/05 00:05:04 espie Exp $ */
-#ifndef FreeBSD
+#if !defined(FreeBSD) && !defined(__OpenBSD__)

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_main_c,v 1.1 2004/01/05 00:05:04 espie Exp $
--- src/main.c.orig 2004-01-05 01:02:01.000000000 +0100
+++ src/main.c 2004-01-05 01:02:22.000000000 +0100
@@ -98,11 +98,11 @@ main(int argc, char *argv[])
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;