On 19/04/2010, at 6:12 PM, Török Edwin wrote: > On 04/19/2010 11:08 AM, James Brown wrote: >> >> On 19/04/2010, at 6:01 PM, Török Edwin wrote: >> >>> You don't need to tell 'patch' which file to patch, since it knows >>> already: it is libclamav/c++/llvm/include/llvm/System/DataTypes.h.in. >>> >>> So you do this: you copy+paste my patch to a file (lets say float.patch). >>> Then cd into the clamav source directory. >>> Then run 'patch -p1 </path/to/float.patch'. >>> >>> Thats it, it should tell you it has successfully patched that file. >> >> $ patch -p1 <float.patch >> patching file libclamav/c++/llvm/include/llvm/System/DataTypes.h.in >> patch: **** unexpected end of file in patch > > Maybe email client messed with the patch. > Download the patch from here: http://paste.debian.net/69675/plain/69675 > And try applying it. >
Thanks Edwin. Ok. Was able to apply the patch. Typed 'make' but the compile failed with the same error as before. Do I need to run ./configure again? Do I need to start from a freshly unpacked folder? James. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml