From 6bf4cc1a2e279bb468ef5ac955d46eb1cf32c9f7 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 8 Sep 2002 01:20:05 +0000 Subject: Fix build on -current (machine/soundcard.h -> sys/soundcard.h, and avoid duplicate bogus declaration of sys_nerr) --- audio/nas/files/patch-ab | 36 +++++++++++++++++++++++------------- audio/nas/files/patch-ah | 12 ++++++++++++ 2 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 audio/nas/files/patch-ah (limited to 'audio/nas/files') diff --git a/audio/nas/files/patch-ab b/audio/nas/files/patch-ab index b01c243d0e4a..6f8bc40a642b 100644 --- a/audio/nas/files/patch-ab +++ b/audio/nas/files/patch-ab @@ -1,17 +1,27 @@ ---- server/dda/voxware/auvoxware.c.orig Fri Dec 28 16:33:46 2001 -+++ server/dda/voxware/auvoxware.c Fri Dec 28 16:58:50 2001 -@@ -156,7 +156,9 @@ +--- ./server/dda/voxware/auvoxware.c.orig Sun Apr 29 17:11:08 2001 ++++ ./server/dda/voxware/auvoxware.c Sat Sep 7 17:02:34 2002 +@@ -154,16 +154,11 @@ + #include + #include - #ifdef __FreeBSD__ - # include +-#ifdef __FreeBSD__ +-# include -# include -+# ifdef __i386__ -+# include -+# endif ++#ifdef __NetBSD__ ++# include ++# include #else - # ifdef __NetBSD__ - # include -@@ -624,7 +626,11 @@ +-# ifdef __NetBSD__ +-# include +-# include +-# else +-# include +-# endif ++# include + #endif + + #include