cvs co ananas
patch -p0 < acatalogue-findbyid.patch
[app@app tmp]$ patch -p0 < acatalogue-findbyid.patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ananas/src/lib/acatalogue.cpp
|===================================================================
|RCS file: /var/cvs/ananas/src/lib/acatalogue.cpp,v
|retrieving revision 1.53
|diff -c -r1.53 acatalogue.cpp
|*** ananas/src/lib/acatalogue.cpp 26 May 2007 19:01:04
-0000 1.53
|--- ananas/src/lib/acatalogue.cpp 12 Sep 2007 14:14:31 -0000
|*** 768,774 ****
| aSQLTable * t = table( md_group );
| if ( !t ) return QVariant::Invalid;
| //if(name=="id") return t->sysValue(name).toString();
|! return t->sysValue( name );//.toString();
| }
|
| ERR_Code
|--- 768,774 ----
| aSQLTable * t = table( md_group );
| if ( !t ) return QVariant::Invalid;
| //if(name=="id") return t->sysValue(name).toString();
|! return t->sysValue( name ).toString();
| }
|
| ERR_Code
--------------------------
File to patch:
То есть патч не может найти в файле контекст исправления.
Похоже патч делался против исправленного кода, а не кода из CVS ?
Сами не пробовали проверить наложение?
> anton-ananas-20070912-patches.tar.bz2
> 3KЗагрузить