aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k3b-kde4/files/patch-src-rip-k3btcwrapper.cpp
blob: 9ef70edca96ab5f78301fb2a5c7d8411129b3a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/rip/k3btcwrapper.cpp.orig   Wed Jan 21 11:20:20 2004
+++ src/rip/k3btcwrapper.cpp    Fri Feb 13 21:03:38 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)) );