Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 18:31:01 +0100
From:      Tomasz Sowa <t.sowa@ttmath.org>
To:        freebsd-multimedia@freebsd.org
Subject:   ffmpeg patch
Message-ID:  <1537842271.20091217183101@ttmath.org>

next in thread | raw e-mail | index | archive | help
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>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1537842271.20091217183101>