diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-12-31 17:55:45 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-12-31 17:55:45 +0000 |
commit | 93d2c4e4f7c7f836b76f793c0f3871201feffe5c (patch) | |
tree | afe9b25e4cafecb26cea5d778b41de60d4599d9d /sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp | |
parent | e2e4965540e23520aeef3a11e591bf4c1f356c19 (diff) | |
download | ports-93d2c4e4f7c7f836b76f793c0f3871201feffe5c.tar.gz ports-93d2c4e4f7c7f836b76f793c0f3871201feffe5c.zip |
Notes
Diffstat (limited to 'sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp')
-rw-r--r-- | sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp b/sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp deleted file mode 100644 index 4106579ff3d9..000000000000 --- a/sysutils/k3b-kde4/files/patch-libk3bdevice-k3bdevice.cpp +++ /dev/null @@ -1,30 +0,0 @@ ---- libk3bdevice/k3bdevice.cpp.orig 2014-11-04 18:37:31 UTC -+++ libk3bdevice/k3bdevice.cpp -@@ -322,6 +322,12 @@ QString K3b::Device::Device::blockDevice - } - - -+QString K3b::Device::Device::genericDeviceName() const -+{ -+ return d->genericDevice; -+} -+ -+ - int K3b::Device::Device::maxWriteSpeed() const - { - return d->maxWriteSpeed; -@@ -376,6 +382,14 @@ bool K3b::Device::Device::init( bool bCh - if( !open() ) - return false; - -+#if defined(Q_OS_FREEBSD) -+ if( d->deviceHandle ) { -+ d->genericDevice = QString("%1").arg(d->deviceHandle->path_id) -+ + QString(",%1").arg(d->deviceHandle->target_id) -+ + QString(",%1").arg(d->deviceHandle->target_lun); -+ } -+#endif -+ - // - // inquiry - // use a 36 bytes buffer since not all devices return the full inquiry struct |