pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cpia2view This package needs a kernel patch, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/939ce70f5cff
branches:  trunk
changeset: 470466:939ce70f5cff
user:      hamajima <hamajima%pkgsrc.org@localhost>
date:      Tue Mar 09 15:55:17 2004 +0000

description:
This package needs a kernel patch, so I printed message.

diffstat:

 graphics/cpia2view/MESSAGE          |   8 ++++++++
 graphics/cpia2view/Makefile         |   3 ++-
 graphics/cpia2view/distinfo         |   3 ++-
 graphics/cpia2view/patches/patch-aa |  32 ++++++++++++++++++++++++++++++++
 4 files changed, 44 insertions(+), 2 deletions(-)

diffs (74 lines):

diff -r dd14468a8e25 -r 939ce70f5cff graphics/cpia2view/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cpia2view/MESSAGE        Tue Mar 09 15:55:17 2004 +0000
@@ -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 -r dd14468a8e25 -r 939ce70f5cff graphics/cpia2view/Makefile
--- a/graphics/cpia2view/Makefile       Tue Mar 09 15:23:53 2004 +0000
+++ b/graphics/cpia2view/Makefile       Tue Mar 09 15:55:17 2004 +0000
@@ -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 -r dd14468a8e25 -r 939ce70f5cff graphics/cpia2view/distinfo
--- a/graphics/cpia2view/distinfo       Tue Mar 09 15:23:53 2004 +0000
+++ b/graphics/cpia2view/distinfo       Tue Mar 09 15:55:17 2004 +0000
@@ -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 -r dd14468a8e25 -r 939ce70f5cff graphics/cpia2view/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cpia2view/patches/patch-aa       Tue Mar 09 15:55:17 2004 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index