pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cambevao Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51b6b0f9bcbc
branches:  trunk
changeset: 511733:51b6b0f9bcbc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 20 16:05:44 2006 +0000

description:
Add DragonFly support.

diffstat:

 graphics/cambevao/Makefile         |   4 ++--
 graphics/cambevao/distinfo         |   4 +++-
 graphics/cambevao/patches/patch-aa |  22 ++++++++++++++++++++++
 graphics/cambevao/patches/patch-ab |  16 ++++++++++++++++
 4 files changed, 43 insertions(+), 3 deletions(-)

diffs (76 lines):

diff -r 68952f4006e9 -r 51b6b0f9bcbc graphics/cambevao/Makefile
--- a/graphics/cambevao/Makefile        Thu Apr 20 15:28:00 2006 +0000
+++ b/graphics/cambevao/Makefile        Thu Apr 20 16:05:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/02/05 23:09:28 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2006/04/20 16:05:44 joerg Exp $
 #
 
 DISTNAME=              cambevao-2.2
@@ -13,7 +13,7 @@
 MAKE_ENV+=             prefix=${PREFIX:Q}
 RCD_SCRIPTS=           cambevao
 
-ONLY_FOR_PLATFORM=     NetBSD-*-* FreeBSD-*-*
+ONLY_FOR_PLATFORM=     NetBSD-*-* FreeBSD-*-* DragonFly-*-*
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cambevao
diff -r 68952f4006e9 -r 51b6b0f9bcbc graphics/cambevao/distinfo
--- a/graphics/cambevao/distinfo        Thu Apr 20 15:28:00 2006 +0000
+++ b/graphics/cambevao/distinfo        Thu Apr 20 16:05:44 2006 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 08:45:03 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/04/20 16:05:44 joerg Exp $
 
 SHA1 (cambevao-2.2.tar.gz) = 98d67a1e8e79cdb5b3cc8b099065f90c2c204b36
 RMD160 (cambevao-2.2.tar.gz) = 922fc6e98503917e503ab4e5a7271dc882be3455
 Size (cambevao-2.2.tar.gz) = 158557 bytes
+SHA1 (patch-aa) = 9b37747201dca6e86484c69f50e57ca9dd91339c
+SHA1 (patch-ab) = 4c489afb31b8e713ab75776dc154d8545d4833e0
diff -r 68952f4006e9 -r 51b6b0f9bcbc graphics/cambevao/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cambevao/patches/patch-aa        Thu Apr 20 16:05:44 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2006/04/20 16:05:44 joerg Exp $
+
+--- cam_bktr.c.orig    2006-04-20 15:30:05.000000000 +0000
++++ cam_bktr.c
+@@ -50,12 +50,13 @@
+ 
+ #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"
diff -r 68952f4006e9 -r 51b6b0f9bcbc graphics/cambevao/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cambevao/patches/patch-ab        Thu Apr 20 16:05:44 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2006/04/20 16:05:44 joerg Exp $
+
+--- cam_ov511.c.orig   2006-04-20 15:31:09.000000000 +0000
++++ cam_ov511.c
+@@ -45,7 +45,11 @@
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <time.h>
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+ #include "main.h"
+ #include "cam_ov511.h"
+ #include "ov511reg.h"



Home | Main Index | Thread Index | Old Index