On Mon, Nov 01, 2010 at 05:59:26PM +0530, Siju George wrote:
> On Mon, Nov 1, 2010 at 5:52 PM, Joe Talbott <jose...@cstone.net> wrote:
> >
> > cd /usr/pkgsrc/net/nmap && sudo patch <nmap.patch
> >
> 
> It gives
> ==========================================
> dfly-vmsrv# patch < /var/isos/nmap.diff
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |--- work/nmap-5.35DC1/nse_openssl.cc   2010-03-28 17:18:02 -0400
> |+++ work/nmap-5.35DC1/nse_openssl.cc.new       2010-10-29 11:34:08 -0400
> --------------------------
> File to patch:
> ================================
> 
> what file name should i give?

Did you first run?:

bmake patch

if that doesn't work, just make sure it patches 
work/nmap-<version>/nse_openssl.cc.

Note that if you've set your pkgsrc to build in another directory you
will need to point it to that location.

Cheers,
Joe

Reply via email to