Add support for GNU/kFreeBSD systems.
authorDiego Biurrun <diego@biurrun.de>
Sat, 10 Jun 2006 12:30:51 +0000 (12:30 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 10 Jun 2006 12:30:51 +0000 (12:30 +0000)
patch from Petr Salinger submitted by Sam Hocevar

Originally committed as revision 5464 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
libavformat/grab_bktr.c

index b4f6ac2..dcb8d93 100755 (executable)
--- a/configure
+++ b/configure
@@ -414,6 +414,15 @@ make="gmake"
 CFLAGS="$CFLAGS -pthread"
 FFLDFLAGS="$FFLDFLAGS -export-dynamic -pthread"
 ;;
+GNU/kFreeBSD)
+v4l="no"
+v4l2="no"
+bktr="yes"
+audio_oss="yes"
+dv1394="no"
+CFLAGS="$CFLAGS -pthread"
+LDFLAGS="$LDFLAGS -rdynamic"
+;;
 BSD/OS)
 v4l="no"
 v4l2="no"
index 119a411..ddfc96b 100644 (file)
@@ -30,6 +30,9 @@
 #  include <machine/ioctl_meteor.h>
 #  include <machine/ioctl_bt848.h>
 # endif
+#elif defined(__FreeBSD_kernel__)
+# include <dev/bktr/ioctl_meteor.h>
+# include <dev/bktr/ioctl_bt848.h>
 #elif defined(__DragonFly__)
 # include <dev/video/meteor/ioctl_meteor.h>
 # include <dev/video/bktr/ioctl_bt848.h>