[vorbis-dev] patch for netbsd

itojun at iijlab.net itojun at iijlab.net
Thu Aug 17 10:29:53 PDT 2000



        attached please find patches to make vorbis kit (2000/8/18 daily
        tar.gz) to compile on netbsd.  we need more tests and cleanups
        (like moving -lossaudio into AC_CHECK_LIB() in configure.in), but
        it should be good as starting point.  thanks.

itojun
PS: i'm not on the list.  if possible please cc: to me.




$NetBSD: patch-aa,v 1.1.1.1 2000/08/17 16:56:18 itojun Exp $
--- vorbis-tools/libao/configure.in-	Fri Aug 18 01:32:17 2000
+++ vorbis-tools/libao/configure.in	Fri Aug 18 01:32:31 2000
@@ -97,3 +97,3 @@
 case $host in
-        *-*-linux*|*-openbsd*|*-freebsd*)
+        *-*-linux*|*-openbsd*|*-freebsd*|*-netbsd*)
                     LIBAO_OBJS="$LIBAO_OBJS ao_oss.o"




$NetBSD: patch-ab,v 1.1.1.1 2000/08/17 16:56:18 itojun Exp $
--- vorbis-tools/libao/configure-	Fri Aug 18 01:32:43 2000
+++ vorbis-tools/libao/configure	Fri Aug 18 01:32:51 2000
@@ -1301,3 +1301,3 @@
 case $host in
-        *-*-linux*|*-openbsd*|*-freebsd*)
+        *-*-linux*|*-openbsd*|*-freebsd*|*-netbsd*)
                     LIBAO_OBJS="$LIBAO_OBJS ao_oss.o"




$NetBSD: patch-ac,v 1.1.1.1 2000/08/17 16:56:18 itojun Exp $
--- vorbis-tools/libao/ao_oss.c-	Fri Aug 18 01:34:24 2000
+++ vorbis-tools/libao/ao_oss.c	Fri Aug 18 01:34:32 2000
@@ -32,3 +32,3 @@
 #include <math.h>
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__NetBSD__)
 #include <soundcard.h>




$NetBSD: patch-ad,v 1.1.1.1 2000/08/17 16:56:18 itojun Exp $
--- vorbis-tools/Makefile.in-	Fri Aug 18 01:37:11 2000
+++ vorbis-tools/Makefile.in	Fri Aug 18 01:37:18 2000
@@ -31,3 +31,3 @@
 RANLIB=@RANLIB@
-LIBS=@LIBS@ $(LIBAO_LIBS) ../lib/vorbisfile.a ../lib/libvorbis.a
+LIBS=@LIBS@ $(LIBAO_LIBS) ../lib/vorbisfile.a ../lib/libvorbis.a -lossaudio
 

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list