pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/cdrdao Fill in blank "vendor" and "product_id...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61592f305765
branches: trunk
changeset: 478171:61592f305765
user: fredb <fredb%pkgsrc.org@localhost>
date: Mon Jul 19 02:21:57 2004 +0000
description:
Fill in blank "vendor" and "product_id" fields with "UNKNOWN", to make it
possible to match a valid entry in ~/.cdrdao-drivers.
diffstat:
sysutils/cdrdao/distinfo | 7 ++++++-
sysutils/cdrdao/patches/patch-aa | 17 +++++++++++++++++
sysutils/cdrdao/patches/patch-ae | 17 +++++++++++++++++
sysutils/cdrdao/patches/patch-af | 17 +++++++++++++++++
sysutils/cdrdao/patches/patch-ag | 20 ++++++++++++++++++++
sysutils/cdrdao/patches/patch-ah | 17 +++++++++++++++++
6 files changed, 94 insertions(+), 1 deletions(-)
diffs (125 lines):
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/distinfo
--- a/sysutils/cdrdao/distinfo Mon Jul 19 01:19:41 2004 +0000
+++ b/sysutils/cdrdao/distinfo Mon Jul 19 02:21:57 2004 +0000
@@ -1,7 +1,12 @@
-$NetBSD: distinfo,v 1.9 2004/06/20 19:05:25 dillo Exp $
+$NetBSD: distinfo,v 1.10 2004/07/19 02:21:57 fredb Exp $
SHA1 (cdrdao-1.1.9.tar.gz) = e406940bbc2784ba249e3b7198ac7834ebda18f7
Size (cdrdao-1.1.9.tar.gz) = 1581717 bytes
+SHA1 (patch-aa) = ac38ac97ffbd502c5b5ea4de771ce92c520ae10e
SHA1 (patch-ab) = 5cbacba844e1fa3c55634bdbbe3ec8a998d20273
SHA1 (patch-ac) = 4608827f9202ef5aed35ddda426dc7a9574bc18f
SHA1 (patch-ad) = 2c092aa6755f6029bbd07db9fee03e655081fdb7
+SHA1 (patch-ae) = 0d352c9815401131b8d6ec8ecf5ecc8e1a572b45
+SHA1 (patch-af) = 6db55b356b6f78f26472f710ecef2f98ce0051ca
+SHA1 (patch-ag) = e5466c41d1f6e492a57588ccbc2cdfe5696b0a8a
+SHA1 (patch-ah) = 1ec8be46c29c4af2f5fdecccae5b2aa4a7f9893f
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-aa Mon Jul 19 02:21:57 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.6 2004/07/19 02:21:57 fredb Exp $
+
+--- dao/ScsiIf-lib.cc.orig 2004-04-13 13:38:58.000000000 -0500
++++ dao/ScsiIf-lib.cc
+@@ -289,6 +289,12 @@
+ revision_[i] = 0;
+ }
+
++ if (vendor_[0] == 0)
++ strncpy(vendor_, "UNKNOWN", 8);
++
++ if (product_[0] == 0)
++ strncpy(product_, "UNKNOWN", 8);
++
+ return 0;
+ }
+
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-ae Mon Jul 19 02:21:57 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.3 2004/07/19 02:21:57 fredb Exp $
+
+--- dao/ScsiIf-linux.cc.orig 2004-04-12 20:23:44.000000000 -0500
++++ dao/ScsiIf-linux.cc
+@@ -398,6 +398,12 @@
+ for (i = 3; i >= 0 && revision_[i] == ' '; i--) {
+ revision_[i] = 0;
+ }
++
++ if (vendor_[0] == 0)
++ strncpy(vendor_, "UNKNOWN", 8);
++
++ if (product_[0] == 0)
++ strncpy(product_, "UNKNOWN", 8);
+
+ return 0;
+ }
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-af Mon Jul 19 02:21:57 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.1 2004/07/19 02:21:57 fredb Exp $
+
+--- dao/ScsiIf-nt.cc.orig 2001-09-03 12:37:42.000000000 -0500
++++ dao/ScsiIf-nt.cc
+@@ -332,6 +332,12 @@
+ revision_[i] = 0;
+ }
+
++ if (vendor_[0] == 0)
++ strncpy(vendor_, "UNKNOWN", 8);
++
++ if (product_[0] == 0)
++ strncpy(product_, "UNKNOWN", 8);
++
+ return 0;
+ }
+
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-ag Mon Jul 19 02:21:57 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ag,v 1.3 2004/07/19 02:21:57 fredb Exp $
+
+--- dao/ScsiIf-win.cc.orig 2001-09-03 12:37:42.000000000 -0500
++++ dao/ScsiIf-win.cc
+@@ -355,5 +355,15 @@
+ revision_[i] = 0;
+ }
+
++ if (vendor_[0] == 0)
++ {
++ strncpy(vendor_, "UNKNOWN", 8);
++ }
++
++ if (product_[0] == 0)
++ {
++ strncpy(product_, "UNKNOWN", 8);
++ }
++
+ return 0;
+ }
diff -r b7f2ada35c1c -r 61592f305765 sysutils/cdrdao/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-ah Mon Jul 19 02:21:57 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.1 2004/07/19 02:21:57 fredb Exp $
+
+--- dao/ScsiIf-freebsd-cam.cc.orig 2001-09-03 12:37:42.000000000 -0500
++++ dao/ScsiIf-freebsd-cam.cc
+@@ -220,6 +220,12 @@
+ for (i = 3; i >= 0 && revision_[i] == ' '; i--)
+ revision_[i] = 0;
+
++ if (vendor_[0] == 0)
++ strncpy(vendor_, "UNKNOWN", 8);
++
++ if (product_[0] == 0)
++ strncpy(product_, "UNKNOWN", 8);
++
+ return 0;
+ }
+
Home |
Main Index |
Thread Index |
Old Index