$OpenBSD: patch-configure,v 1.7 2008/07/09 02:13:01 jakemsr Exp $
--- configure.orig	Tue Jan  8 14:00:53 2008
+++ configure	Sat Jun 21 12:16:30 2008
@@ -24861,7 +24861,7 @@ fi
     VORBIS_LIBS="-L$prefix/lib"
   fi
 
-  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
+  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -logg -lm"
   VORBISFILE_LIBS="-lvorbisfile"
   VORBISENC_LIBS="-lvorbisenc"
 
@@ -25076,11 +25076,11 @@ if test "x$with_lame" != "xno"; then
 OLD_CFLAGS=$CFLAGS
 OLD_LIBS=$LIBS
 
-if test x$have_vorbis = xtrue; then
-LIBS="$LIBS -lmp3lame -lvorbis -lm"
-else
+#if test x$have_vorbis = xtrue; then
+#LIBS="$LIBS -lmp3lame -lvorbis -lm"
+#else
 LIBS="$LIBS -lmp3lame -lm"
-fi
+#fi
 
 
 { echo "$as_me:$LINENO: checking for lame" >&5
@@ -27562,7 +27562,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
     #include <stdio.h>
-    #include <ffmpeg/avcodec.h>
+    #include <libavcodec/avcodec.h>
     int main()
     {
     FILE * output;
@@ -27728,7 +27728,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
     #include <stdio.h>
-    #include <ffmpeg/avcodec.h>
+    #include <libavcodec/avcodec.h>
     int main()
     {
     FILE * output;
@@ -27893,7 +27893,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
     #include <stdio.h>
-    #include <ffmpeg/avcodec.h>
+    #include <libavcodec/avcodec.h>
     int main()
     {
     FILE * output;
