forked from Lainports/freebsd-ports
PR: 71010 Reported by: Reinhard Lenninger Submitted by: maintainer - Upgrade to 0.11.14 PR: 71113 Submitted by: maintainer
24 lines
1.2 KiB
C++
24 lines
1.2 KiB
C++
--- src/rip/k3btcwrapper.cpp.orig Wed Jan 21 11:20:20 2004
|
|
+++ src/rip/k3btcwrapper.cpp Sun Aug 22 15:28:36 2004
|
|
@@ -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;
|
|
}
|
|
}
|
|
|