ffmpeg patch
Tomasz Sowa
t.sowa at ttmath.org
Thu Dec 17 17:58:37 UTC 2009
Hello
FFmpeg from svn doesn't want to compile, patch below.
Proposal: create a new port: multimedia/ffmpeg-devel
--
Index: libavdevice/bktr.c
===================================================================
--- libavdevice/bktr.c (revision 20889)
+++ libavdevice/bktr.c (working copy)
@@ -24,6 +24,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define __BSD_VISIBLE 1
+#include <sys/types.h>
#define _BSD_SOURCE 1
#include "libavformat/avformat.h"
#if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H
Index: libavdevice/oss_audio.c
===================================================================
--- libavdevice/oss_audio.c (revision 20889)
+++ libavdevice/oss_audio.c (working copy)
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define __BSD_VISIBLE 1
+#include <sys/types.h>
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
More information about the freebsd-multimedia
mailing list