pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/bktr2jpeg Add DragonFly support. Also let it ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e18537f1733a
branches: trunk
changeset: 511760:e18537f1733a
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Apr 21 08:26:18 2006 +0000
description:
Add DragonFly support. Also let it be used on FreeBSD.
diffstat:
graphics/bktr2jpeg/Makefile | 4 ++--
graphics/bktr2jpeg/distinfo | 3 ++-
graphics/bktr2jpeg/patches/patch-ab | 22 ++++++++++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
diffs (56 lines):
diff -r b6be2c189dc7 -r e18537f1733a graphics/bktr2jpeg/Makefile
--- a/graphics/bktr2jpeg/Makefile Fri Apr 21 07:55:16 2006 +0000
+++ b/graphics/bktr2jpeg/Makefile Fri Apr 21 08:26:18 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/04/11 21:46:00 tv Exp $
+# $NetBSD: Makefile,v 1.7 2006/04/21 08:26:18 joerg Exp $
#
DISTNAME= bktr2jpeg-1.0
@@ -11,7 +11,7 @@
COMMENT= Write jpeg image captured from /dev/bktr to file
-ONLY_FOR_PLATFORM= NetBSD-*-*
+ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-*
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b6be2c189dc7 -r e18537f1733a graphics/bktr2jpeg/distinfo
--- a/graphics/bktr2jpeg/distinfo Fri Apr 21 07:55:16 2006 +0000
+++ b/graphics/bktr2jpeg/distinfo Fri Apr 21 08:26:18 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 08:45:03 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/04/21 08:26:18 joerg Exp $
SHA1 (bktr2jpeg-1.0.tar.gz) = 77c23db1826936fc1dc920ea7a3c8ae5800655a1
RMD160 (bktr2jpeg-1.0.tar.gz) = 99593aeaf12c56c07cee74a8f24a0d3f65b9f765
Size (bktr2jpeg-1.0.tar.gz) = 4716 bytes
SHA1 (patch-aa) = 822c9035b160432821e8b2d2b68d9b1c0456eea2
+SHA1 (patch-ab) = 625b8c132f25b27ab7a0824b2ede94c6bca63737
diff -r b6be2c189dc7 -r e18537f1733a graphics/bktr2jpeg/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/bktr2jpeg/patches/patch-ab Fri Apr 21 08:26:18 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2006/04/21 08:26:18 joerg Exp $
+
+--- bktr2jpeg.c.orig 2002-09-24 23:01:01.000000000 +0000
++++ bktr2jpeg.c
+@@ -65,12 +65,13 @@ extern "C"
+
+ #ifdef __NetBSD__
+ #include <dev/ic/bt8xx.h>
+-#endif /* NetBSD */
+-
+-#ifdef __FreeBSD__
++#elif defined(__FreeBSD__)
+ #include <machine/ioctl_meteor.h>
+ #include <machine/ioctl_bt848.h>
+-#endif /* __FreeBSD__ */
++#elif defined(__DragonFly__)
++#include <dev/video/meteor/ioctl_meteor.h>
++#include <dev/video/bktr/ioctl_bt848.h>
++#endif
+
+ /* which device */
+ #define VIDEO_DEV "/dev/bktr"
Home |
Main Index |
Thread Index |
Old Index