--- Makefile.orig Sun Feb 8 13:23:04 1998 +++ Makefile Sat Mar 7 08:39:36 1998 @@ -32,6 +32,7 @@ @echo "make aix IBM AIX (tested: 4.2)" @echo "make os2 IBM OS/2" @echo "make netbsd NetBSD" + @echo "make netbsd-i386 NetBSD optimized for i386" @echo "make bsdos BSDI BSD/OS" @echo "make generic try this one if your system isn't listed above" @echo "" --- audio_sun.c.orig Mon Jan 5 06:41:31 1998 +++ audio_sun.c Sat Mar 7 08:43:50 1998 @@ -17,6 +17,8 @@ #include "mpg123.h" +extern int outburst; + #include #ifdef SUNOS #include @@ -74,6 +76,13 @@ } #ifndef NETBSD + AUDIO_INITINFO(&ainfo); + if(ioctl(ai->fn, AUDIO_GETINFO, &ainfo) == -1) + return -1; + outburst = ainfo.blocksize; + if(outburst > MAXOUTBURST) + outburst = MAXOUTBURST; + AUDIO_INITINFO(&ainfo); switch(ai->output) { --- buffer.c.orig Wed Feb 11 15:55:18 1998 +++ buffer.c Sat Mar 7 08:40:43 1998 @@ -48,7 +48,7 @@ for (;;) { if (intflag) { intflag = FALSE; -#if defined(SOLARIS) || defined(__NetBSD__) +#if defined(SOLARIS) || defined(NETBSD) if (param.outmode == DECODE_AUDIO) audio_queueflush (ai); #endif