diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-21 08:26:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-21 08:26:18 +0000 |
commit | 83d63f8cb9bd6ed28ab7c69fbe7401ca3bf0e128 (patch) | |
tree | 786fdc529996f207d26f9543e0be819c7c760894 /graphics | |
parent | d47c2c33934b1331e1df97fb3b6fdec19a39e259 (diff) | |
download | pkgsrc-83d63f8cb9bd6ed28ab7c69fbe7401ca3bf0e128.tar.gz |
Add DragonFly support. Also let it be used on FreeBSD.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/bktr2jpeg/Makefile | 4 | ||||
-rw-r--r-- | graphics/bktr2jpeg/distinfo | 3 | ||||
-rw-r--r-- | graphics/bktr2jpeg/patches/patch-ab | 22 |
3 files changed, 26 insertions, 3 deletions
diff --git a/graphics/bktr2jpeg/Makefile b/graphics/bktr2jpeg/Makefile index be899055499..885988b4b71 100644 --- a/graphics/bktr2jpeg/Makefile +++ b/graphics/bktr2jpeg/Makefile @@ -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 @@ HOMEPAGE= http://core.de/~coto/projects/bktr2jpeg/ 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 --git a/graphics/bktr2jpeg/distinfo b/graphics/bktr2jpeg/distinfo index 577885f4241..b86bd71df0d 100644 --- a/graphics/bktr2jpeg/distinfo +++ b/graphics/bktr2jpeg/distinfo @@ -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 --git a/graphics/bktr2jpeg/patches/patch-ab b/graphics/bktr2jpeg/patches/patch-ab new file mode 100644 index 00000000000..f523ddf8bf4 --- /dev/null +++ b/graphics/bktr2jpeg/patches/patch-ab @@ -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" |