On Mon, 18 Oct 2010 14:51:07 -0400 (EDT)
jef moskot <j...@math.miami.edu> wrote:

> On Mon, 18 Oct 2010, Török Edwin wrote:
> > You can apply this patch (that will be in 0.96.4):
> > http://git.clamav.net/gitweb?p=clamav-devel.git;a=blobdiff_plain;f=libclamav/bytecode_nojit.c;h=66d385d6a2b2f2f6afc4440a53ae87b9cae8c38b;hp=ec961a9d1bc6e3d274e664f9eb9afe4992f7757f;hb=670adde2bc4e4ba2f3b96c6ed551a3c8312693d9;hpb=cfe6b4a2163170ebf062db50c6fde8f818fe8a02
> 
> OK, I must admit that I have no idea what to do with that thing.  I 
> installed git on my (FreeBSD) machine, but it seems massive and 
> complicated.  Presumably, all I want to do is replace some text.

You don't need to install git to apply the patch.
Simply download the patch with a browser (or wget), and then apply it
like this:
patch -p1 <thepatch.patch.
You need to run that command in the source directory of ClamAV (0.96.3
I assume).

> 
> All the docs seem to be operating at another level, imagining that I
> have some kind of huge code development system in place.  It even
> tried to install a daemon.
> 
> Is there a shortcut for using git that just makes the text changes in
> that small file without installing a giant infrastructure?

Since you already installed git you can apply the patch with
'git apply thepatch.patch', where thepatch.patch is the above patch
downloaded.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to