pkgsrc change: include patch from PR kern/36030 to work around a problem that can cause NetBSD to panic or just not read a CD. 1.0.3 ===== * Reverted to old behaviour of reloading medium before verification. Not enough testing had been done before introducing this and some systems fail to read the medium before reload. * Do not crash when the currently playing audio project item is removed. * Added desktop actions to handle empty media with K3b. * Fixed read retry when reading data tracks * K3b's dialogs now honor the global button layout setting * Do not crash on mp3 files without tags if compiled with taglib support * Do not allow to copy a rewritable media to itself. * Fixed crash on startup with devices that return bogus GET PERFORMANCE data 1.0.2 ===== * Properly determine the capacity of complete CD-R(W) media. * Mark a data project as modified if files are renamed. * Allow adding of all actions to the welcome window * Added "NoDisplay=true" property to k3b-cue.desktop and k3b-iso.desktop * Fixed supported write speed detection on some devices * No reload before verification and between writing sessions (CD copy + Mixed Mode CD) anymore
16 lines
636 B
Text
16 lines
636 B
Text
$NetBSD: patch-ae,v 1.3 2007/07/25 02:33:03 markd Exp $
|
|
|
|
--- libk3b/jobs/k3bdatatrackreader.cpp.orig 2007-06-24 06:35:52.000000000 +1200
|
|
+++ libk3b/jobs/k3bdatatrackreader.cpp
|
|
@@ -219,7 +219,11 @@ void K3bDataTrackReader::WorkThread::run
|
|
//
|
|
m_device->setSpeed( 0xffff, 0xffff );
|
|
|
|
+#ifdef __NetBSD__
|
|
+ s_bufferSizeSectors = 31;
|
|
+#else
|
|
s_bufferSizeSectors = 128;
|
|
+#endif
|
|
unsigned char* buffer = new unsigned char[m_usedSectorSize*s_bufferSizeSectors];
|
|
while( s_bufferSizeSectors > 0 && read( buffer, m_firstSector.lba(), s_bufferSizeSectors ) < 0 ) {
|
|
kdDebug() << "(K3bDataTrackReader) determine max read sectors: "
|