ports/62178: Support moved header files in 5.x in ffmpeg port

Steve O'Hara-Smith steve at sohara.org
Sat Jan 31 19:30:20 UTC 2004


>Number:         62178
>Category:       ports
>Synopsis:       Support moved header files in 5.x in ffmpeg port
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 11:30:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Steve O'Hara-Smith
>Release:        
>Organization:
>Environment:
>Description:
	ffmpeg cannot be compiled on recent FreeBSD 5.x with capture support
	because the header files for the Brooktree and Meteor interfaces have
	been moved.

>How-To-Repeat:
	Attempt to build the ffmpeg port on a recent 5.x machine

>Fix:

	Apply the following patch in $PORTSDIR/multimedia/ffmpeg.

Index: files/grab_bsdbktr.c
===================================================================
RCS file: /ncvs/ports/multimedia/ffmpeg/files/grab_bsdbktr.c,v
retrieving revision 1.7
diff -u -r1.7 grab_bsdbktr.c
--- files/grab_bsdbktr.c	7 Sep 2003 23:52:59 -0000	1.7
+++ files/grab_bsdbktr.c	17 Dec 2003 18:22:29 -0000
@@ -24,8 +24,13 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 #include "avformat.h"
+#if __FreeBSD__ >= 502100
+#include <dev/bktr/ioctl_meteor.h>
+#include <dev/bktr/ioctl_bt848.h>
+#else
 #include <machine/ioctl_meteor.h>
 #include <machine/ioctl_bt848.h>
+#endif
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list