summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cpia2view/MESSAGE8
-rw-r--r--graphics/cpia2view/Makefile3
-rw-r--r--graphics/cpia2view/distinfo3
-rw-r--r--graphics/cpia2view/patches/patch-aa32
4 files changed, 44 insertions, 2 deletions
diff --git a/graphics/cpia2view/MESSAGE b/graphics/cpia2view/MESSAGE
new file mode 100644
index 00000000000..4833a2bc5bf
--- /dev/null
+++ b/graphics/cpia2view/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2004/03/09 15:55:17 hamajima Exp $
+
+You should apply following kernel patch to use this package.
+
+ http://www2.starcat.ne.jp/~takam/bsd/cpia2-netbsd-sys-1.6.2.diff
+
+===========================================================================
diff --git a/graphics/cpia2view/Makefile b/graphics/cpia2view/Makefile
index ce34b3b52bb..167e068e273 100644
--- a/graphics/cpia2view/Makefile
+++ b/graphics/cpia2view/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/03/07 08:15:20 hamajima Exp $
+# $NetBSD: Makefile,v 1.2 2004/03/09 15:55:17 hamajima Exp $
#
DISTNAME= cpia2_driver-1.0
PKGNAME= cpia2view-0.03
+PKGREVISION= 1
CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cpia2/}
EXTRACT_SUFX= .tgz
diff --git a/graphics/cpia2view/distinfo b/graphics/cpia2view/distinfo
index c92bd57b016..f72b8a1f68d 100644
--- a/graphics/cpia2view/distinfo
+++ b/graphics/cpia2view/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/03/07 08:15:20 hamajima Exp $
+$NetBSD: distinfo,v 1.2 2004/03/09 15:55:17 hamajima Exp $
SHA1 (cpia2_driver-1.0.tgz) = 72c70f88fd894118510e761c9c9f5f5a928e7e42
Size (cpia2_driver-1.0.tgz) = 47375 bytes
SHA1 (cpia2_driver-1.0-bsd-0.03.patch.gz) = 953a7ae4eafd5e3476b0db617703ff291caab3f2
Size (cpia2_driver-1.0-bsd-0.03.patch.gz) = 17497 bytes
+SHA1 (patch-aa) = 358ca2855020184a341b05fd75de5992eee32056
diff --git a/graphics/cpia2view/patches/patch-aa b/graphics/cpia2view/patches/patch-aa
new file mode 100644
index 00000000000..be94f5de0c5
--- /dev/null
+++ b/graphics/cpia2view/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1 2004/03/09 15:55:17 hamajima Exp $
+
+--- cpia2shot.c.orig 2004-03-09 22:19:13.000000000 +0900
++++ cpia2shot.c 2004-03-09 22:27:15.000000000 +0900
+@@ -128,9 +128,9 @@
+ /* enable checksum to isoc data */
+ chksum = 1;
+ if ( (ret = ioctl(usbdev.fd, USB_SET_PACKETCHKSUM, (void *)&chksum)) != 0 ) {
+- perror("USB_SET_PACKETCHKSUM");
+- ret = 1;
+- goto OPENERR;
++ fprintf(stderr, "You should apply following kernel patch to use this package.\n");
++ fprintf(stderr, "\thttp://www2.starcat.ne.jp/~takam/bsd/cpia2-netbsd-sys-1.6.2.diff\n");
++ exit(1);
+ }
+
+ /* set size and start stream */
+--- cpia2view.c.orig 2004-03-09 22:19:13.000000000 +0900
++++ cpia2view.c 2004-03-09 22:27:56.000000000 +0900
+@@ -142,9 +142,9 @@
+ /* enable checksum to isoc data */
+ chksum = 1;
+ if ( (ret = ioctl(usbdev.fd, USB_SET_PACKETCHKSUM, (void *)&chksum)) != 0 ) {
+- perror("USB_SET_PACKETCHKSUM");
+- ret = 1;
+- goto OPENERR;
++ fprintf(stderr, "You should apply following kernel patch to use this package.\n");
++ fprintf(stderr, "\thttp://www2.starcat.ne.jp/~takam/bsd/cpia2-netbsd-sys-1.6.2.diff\n");
++ exit(1);
+ }
+
+ /* set size and start stream */