|
发表于 2004-2-18 14:40:53
|
显示全部楼层
最初由 txl263 发表
sorry 怎么pahch啊
- cat > kchmpart.diff << "EOF"
- --- kdevelop.old/parts/doctreeview/chm/chm.cpp 2003-04-13 13:52:23.000000000 -0700
- +++ kdevelop/parts/doctreeview/chm/chm.cpp 2004-02-01 17:07:31.731921104 -0800
- @@ -135,8 +136,9 @@
- //KMimeMagicResult * result = KMimeMagic::self()->findBufferFileType( output, path );
- //kdDebug() << "Emitting mimetype " << result->mimeType() << endl;
- //mimeType( result->mimeType() );
- - data(output.local8Bit());
- - processedSize(output.length());
- + QCString output1 = (QCString)(output.latin1());
- + data(output1);
- + processedSize(output1.length());
- } else {
- int offset = m_dirMap[path].offset;
- int length = m_dirMap[path].length;
- EOF
复制代码
在源码目录里patch -p1 -i <patch path> |
|