pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg-devel Sync grab_bsdbktr.c with multi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dfe7543576d
branches:  trunk
changeset: 507447:8dfe7543576d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 02 08:18:04 2006 +0000

description:
Sync grab_bsdbktr.c with multimedia/ffmpeg. Don't build v4l on DragonFly
if bktr is not active.

diffstat:

 multimedia/ffmpeg-devel/distinfo             |   4 ++--
 multimedia/ffmpeg-devel/files/grab_bsdbktr.c |  15 +++++++++++++++
 multimedia/ffmpeg-devel/patches/patch-aa     |   4 ++--
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (59 lines):

diff -r 4cebabce5f2d -r 8dfe7543576d multimedia/ffmpeg-devel/distinfo
--- a/multimedia/ffmpeg-devel/distinfo  Thu Feb 02 05:52:08 2006 +0000
+++ b/multimedia/ffmpeg-devel/distinfo  Thu Feb 02 08:18:04 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/01/24 04:00:37 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2006/02/02 08:18:04 joerg Exp $
 
 SHA1 (ffmpeg-0.4.9-pre1.tar.gz) = aad00445137520bec19e56bcb042e75a10c53bb3
 RMD160 (ffmpeg-0.4.9-pre1.tar.gz) = fd682846f97ada32951af7844e185c42783189a4
 Size (ffmpeg-0.4.9-pre1.tar.gz) = 1611332 bytes
-SHA1 (patch-aa) = 012e6330303c023884e8d9ab44d1d265c1e765f4
+SHA1 (patch-aa) = acc31f2c428411f912750e05703f5cad506c12bc
 SHA1 (patch-ab) = f596db3c555ab772eae2da5b8144c23fb4f2eaa0
 SHA1 (patch-ac) = 2e7aa9021ddfe46cda35a9399e59f63848610d83
 SHA1 (patch-ad) = 95eea8ef74a270a0c60243eff740aa3346efaaaf
diff -r 4cebabce5f2d -r 8dfe7543576d multimedia/ffmpeg-devel/files/grab_bsdbktr.c
--- a/multimedia/ffmpeg-devel/files/grab_bsdbktr.c      Thu Feb 02 05:52:08 2006 +0000
+++ b/multimedia/ffmpeg-devel/files/grab_bsdbktr.c      Thu Feb 02 08:18:04 2006 +0000
@@ -24,7 +24,22 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 #include "avformat.h"
+#if defined __DragonFly__
+#include <dev/video/meteor/ioctl_meteor.h>
+#include <dev/video/bktr/ioctl_bt848.h>
+#else
+#if defined __FreeBSD__
+#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
+#else
 #include <dev/ic/bt8xx.h>
+#endif
+#endif
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
diff -r 4cebabce5f2d -r 8dfe7543576d multimedia/ffmpeg-devel/patches/patch-aa
--- a/multimedia/ffmpeg-devel/patches/patch-aa  Thu Feb 02 05:52:08 2006 +0000
+++ b/multimedia/ffmpeg-devel/patches/patch-aa  Thu Feb 02 08:18:04 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/01/24 04:00:37 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2006/02/02 08:18:04 joerg Exp $
 
 --- configure.orig     2004-11-28 16:56:25.000000000 +0100
 +++ configure
@@ -7,7 +7,7 @@
  extralibs="$extralibs -lsocket -lnsl"
  ;;
 -FreeBSD)
-+FreeBSD|NetBSD)
++FreeBSD|NetBSD|DragonFly)
  v4l="no"
  audio_oss="yes"
  dv1394="no"



Home | Main Index | Thread Index | Old Index