From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 17 17:58:37 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 465F0106568B for ; Thu, 17 Dec 2009 17:58:37 +0000 (UTC) (envelope-from t.sowa@ttmath.org) Received: from slimaczek.pl (slimaczek.pl [91.121.26.228]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3398FC1B for ; Thu, 17 Dec 2009 17:58:36 +0000 (UTC) Received: from TOMEK-STACJONAR (dynamic-78-8-159-112.ssp.dialog.net.pl [78.8.159.112]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by slimaczek.pl (Postfix) with ESMTPSA id D18895EE8E for ; Thu, 17 Dec 2009 18:32:17 +0000 (UTC) Date: Thu, 17 Dec 2009 18:31:01 +0100 From: Tomasz Sowa X-Mailer: The Bat! (v2.12.00) Business X-Priority: 3 (Normal) Message-ID: <1537842271.20091217183101@ttmath.org> To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ffmpeg patch X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Sowa List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 17:58:37 -0000 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 #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 #include "config.h" #include #include