Hi Roberto,

On Mon, 2019-11-25 at 10:03 -0300, Roberto Carna wrote:
> root@nfw04:~/nfsen-1.3.8# ls
> bin  BSD-license.txt  ChangeLog  contrib  etc  helpers  html
>  installer-items  install.pl  libexec  nfsen-1.3.8-rmnet-
> 20190305.patch  plugins  README  README.plugins
> 
> root@nfw04:~/nfsen-1.3.8# patch -p0 < nfsen-1.3.8-rmnet-
> > 20190305.patch
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -ru nfsen-1.3.8/ChangeLog nfsen-1.3.8-rmnet-20190305/ChangeLog
> |--- nfsen-1.3.8/ChangeLog      2017-01-19 17:16:21.000000000 +0100
> |+++ nfsen-1.3.8-rmnet-20190305/ChangeLog       2019-03-05
> 13:34:47.269764558 +0100
> --------------------------
> File to patch: 
> 
> Please can you help me to apply the patch ?

As the patch command hints at, you have supplied a strip option ("-p0") 
that doesn't work. When you're inside the "nfsen-1.3.8" directory you
need to strip one component, i.e.:

  ~/nfsen-1.3.8$ patch -p 1 < nfsen-1.3.8-rmnet-20190305.patch

-- 
Peter




_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to