[Ffmpeg-devel] [patch] GNU/kFreeBSD support

Sam Hocevar sam+ffmpeg
Fri Jun 9 13:25:26 CEST 2006


   Hi. This patch from Debian contributor Petr Salinger adds support for
GNU/kFreeBSD systems.

Regards,
-- 
Sam.
-------------- next part --------------
Index: ffmpeg-0.cvs20060329/configure
===================================================================
--- ffmpeg-0.cvs20060329.orig/configure	2006-06-09 11:04:38.000000000 +0200
+++ ffmpeg-0.cvs20060329/configure	2006-06-09 11:05:52.000000000 +0200
@@ -339,6 +339,15 @@
 CFLAGS="-pthread"
 LDFLAGS="$LDFLAGS -export-dynamic -pthread"
 ;;
+GNU/kFreeBSD)
+v4l="no"
+v4l2="no"
+bktr="yes"
+audio_oss="yes"
+dv1394="no"
+CFLAGS="-pthread"
+LDFLAGS="$LDFLAGS -rdynamic"
+;;
 BSD/OS)
 v4l="no"
 v4l2="no"
Index: ffmpeg-0.cvs20060329/libavformat/grab_bktr.c
===================================================================
--- ffmpeg-0.cvs20060329.orig/libavformat/grab_bktr.c	2006-03-29 19:53:55.000000000 +0200
+++ ffmpeg-0.cvs20060329/libavformat/grab_bktr.c	2006-06-09 11:05:52.000000000 +0200
@@ -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>



More information about the ffmpeg-devel mailing list