[Slackbuilds-users] [DEFECTIVE] net/retroshare

David Spencer baildon.research at googlemail.com
Wed Jan 18 16:52:14 UTC 2017


> This is an ongoing issue. Probably the patch file as submitted was
> correct, but SBo's git is configured to strip off LFs from any text
> files checked in. Apparently this happens *after* testing and approval
> is complete (otherwise whoever tested it would catch the problem).
>
> Best solution I know for this: Maintainers, if your patches have CRLF
> endings, gzip them before submitting, and have your SlackBuild do:
>
> zcat $CWD/patchname.diff.gz | patch -p1    # or -p0 or whatever's needed

Agreed, and good advice. Sadly git and patch handle CR LF endings in
contradictory ways. I *think* my git is setup ok, and I fixed spdlog
for the same problem three days ago, so I'll fix this one too.

Thanks everybody
-D.


More information about the SlackBuilds-users mailing list