diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-26 00:05:59 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-26 00:05:59 +0000 |
commit | 0b9668650e60249714f149fb4a7376741b26442f (patch) | |
tree | 844e70cec37c2c77d80dca2db220289e8d217002 /multimedia/k9copy/files/patch-src_kcddrive.cpp | |
parent | 9c52b396dc822e227af535a8dd8bc26737fac379 (diff) |
Notes
Diffstat (limited to 'multimedia/k9copy/files/patch-src_kcddrive.cpp')
-rw-r--r-- | multimedia/k9copy/files/patch-src_kcddrive.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/multimedia/k9copy/files/patch-src_kcddrive.cpp b/multimedia/k9copy/files/patch-src_kcddrive.cpp new file mode 100644 index 000000000000..a05b47882f74 --- /dev/null +++ b/multimedia/k9copy/files/patch-src_kcddrive.cpp @@ -0,0 +1,30 @@ +--- src/kcddrive.cpp.orig Thu Dec 15 16:49:47 2005 ++++ src/kcddrive.cpp Thu Dec 15 16:49:47 2005 +@@ -27,8 +27,10 @@ + #include <sys/stat.h> + #include <sys/ioctl.h> + #include <fcntl.h> ++/* + #include <scsi/scsi.h> + #include <scsi/sg.h> ++*/ + #include <unistd.h> + + #include <qfile.h> +@@ -177,7 +179,7 @@ + return 0; + } + +- if (ioctl (fd, SCSI_IOCTL_GET_BUS_NUMBER, &bus) < 0) { ++/* if (ioctl (fd, SCSI_IOCTL_GET_BUS_NUMBER, &bus) < 0) { + close (fd); + return 0; + } +@@ -185,6 +187,7 @@ + close(fd); + return 0; + } ++*/ + id = m_idlun.mux4 & 0xFF; + lun = (m_idlun.mux4 >> 8) & 0xFF; + |