Hi Edward,
On 05/01/2016, Edward Bartolo <edbarx@???> wrote:
> Hi Aitor,
>
> Sorry for taking so long to resume work on netman. At the moment I am
> trying to apply your netman debconf patch. However, git apply --index
> ../aitor/debconf-41822e0-27.12.2015.patch is failing complaining that:
>
> ../aitor/debconf-41822e0-27.12.2015.patch:10: trailing whitespace.
> #!/bin/sh -e
> ../aitor/debconf-41822e0-27.12.2015.patch:23: trailing whitespace.
> . /usr/share/debconf/confmodule
> ../aitor/debconf-41822e0-27.12.2015.patch:33: trailing whitespace.
> db_version 2.0
> ../aitor/debconf-41822e0-27.12.2015.patch:34: trailing whitespace.
> #db_capb backup
> ../aitor/debconf-41822e0-27.12.2015.patch:35: trailing whitespace.
> db_capb escape
> error: patch failed: debian/netman-gui.postinst:1
> error: debian/netman-gui.postinst: patch does not apply
>
> What is wrong? I opened the patch with medit to view the offending
> characters. In case understanding the cause of this issue an unjustied
> long time, I can always apply the patch manually by editing text
> directly.
>
> Edward
>
*trailing whitespace*
I think there are white spaces in the patch, instead of tab keys.
As Rainer said, copy 'n' paste is not always valid.
Aitor.