dffd382a92
Bugfixes: * Missing "Extract Digital Audio with K3b" in device notifier for Audio CD medium * Clearing up track info in audio project when CDDB query failed * Improper track number in CDDB track edit window title * Crash on detecting writing speeds * Incorrect capacity returned by HL-DT-ST BH10LS30. Patch by Stephane Berthelot, thanks! * Compilation fails with new FFMPEG
29 lines
905 B
C++
29 lines
905 B
C++
$NetBSD: patch-libk3bdevice_k3bdevice.cpp,v 1.2 2014/11/15 03:35:26 markd Exp $
|
|
|
|
--- libk3bdevice/k3bdevice.cpp.orig 2014-11-04 18:37:31.000000000 +0000
|
|
+++ libk3bdevice/k3bdevice.cpp
|
|
@@ -35,7 +35,7 @@
|
|
#include <Solid/OpticalDrive>
|
|
#include <Solid/Block>
|
|
#include <Solid/StorageAccess>
|
|
-#ifdef __NETBSD__
|
|
+#ifdef Q_OS_NETBSD
|
|
#include <Solid/GenericInterface>
|
|
#endif
|
|
|
|
@@ -245,12 +245,12 @@ K3b::Device::Device::Handle K3b::Device:
|
|
|
|
K3b::Device::Device::Device( const Solid::Device& dev )
|
|
{
|
|
-#ifdef __NETBSD__
|
|
- const Solid::GenericInterace *gi = dev.as<Solid::GenericInterface>();
|
|
+#ifdef Q_OS_NETBSD
|
|
+ const Solid::GenericInterface *gi = dev.as<Solid::GenericInterface>();
|
|
#endif
|
|
d = new Private;
|
|
d->solidDevice = dev;
|
|
-#ifndef __NETBSD__
|
|
+#ifndef Q_OS_NETBSD
|
|
d->blockDevice = dev.as<Solid::Block>()->device();
|
|
#else
|
|
if (gi->propertyExists("block.netbsd.raw_device"))
|