1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/k3b-kde4/files/patch-libk3b-projects-k3bcdrecordwriter.cpp
Max Brazhnikov 5e284b17c3 Update to 2.0.0 for KDE 4
Thanks for all contributors to this port:

Alberto Villa <avilla@>
Andriy Gapon <avg@>
Dima Panov <fluffy@>
Ganael Laplanche <ganael.laplanche at martymac.com>
Jason E. Hale <bsdkaffee at gmail.com>
Juergen Lock <nox@>
2010-08-01 19:48:46 +00:00

15 lines
728 B
C++

--- libk3b/projects/k3bcdrecordwriter.cpp.orig 2010-06-06 20:49:38.000000000 +0200
+++ libk3b/projects/k3bcdrecordwriter.cpp 2010-07-30 06:43:53.000000000 +0200
@@ -228,7 +228,11 @@
d->process << "gracetime=2"; // 2 is the lowest allowed value (Joerg, why do you do this to us?)
// Again we assume the device to be set!
+#if defined(Q_OS_FREEBSD)
+ d->process << QString("dev=%1").arg(K3b::externalBinGenericDeviceParameter(burnDevice(), d->cdrecordBinObject));
+#else
d->process << QString("dev=%1").arg(K3b::externalBinDeviceParameter(burnDevice(), d->cdrecordBinObject));
+#endif
d->usedSpeedFactor = K3b::speedMultiplicatorForMediaType( d->burnedMediaType );
d->usedSpeed = burnSpeed();