Files
ports/sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp
T
Volker Stolz 4df4c423af Update to 0.11.18
PR:		ports/75983
Submitted by:	maintainer
2005-01-10 15:06:00 +00:00

25 lines
1.2 KiB
C++

--- src/rip/k3btcwrapper.cpp.orig Wed Jan 21 11:20:20 2004
+++ src/rip/k3btcwrapper.cpp Sun Jan 2 09:30:08 2005
@@ -65,7 +65,12 @@
//K3bProcess *p = new K3bProcess();
emit tcprobeTitleParsed( m_currentTitle );
+#ifndef __FreeBSD__
*p << bin->path << "-i" << m_device->blockDeviceName() << "-T" << QString::number(m_currentTitle);
+#else
+ kdDebug() << "(K3bTcWrapper) executing: " << bin->path << " -i " << m_device->mountPoint() << " -T " << QString::number(m_currentTitle) << endl;
+ *p << bin->path << "-i" << m_device->mountPoint() << "-T" << QString::number(m_currentTitle);
+#endif
//p->setSplitStdout( true );
connect( p, SIGNAL(receivedStderr(KProcess*, char*, int)), this, SLOT(slotParseTcprobeError(KProcess*, char*, int)) );
connect( p, SIGNAL(receivedStdout(KProcess*, char*, int)), this, SLOT(slotParseTcprobeOutput(KProcess*, char*, int)) );
@@ -77,7 +82,7 @@
if( !p->start( KProcess::NotifyOnExit, KProcess::AllOutput ) ) {
// something went wrong when starting the program
// it "should" be the executable
- kdDebug() << "(K3bDirView) Error during checking drive for DVD." << endl;
+ kdDebug() << "(K3bTcWrapper) Error during checking drive for DVD." << endl;
}
}