Created attachment 223967 [details]
I'm having trouble applying your patch, is it from an up to date ports tree?
(In reply to Kevin Bowling from comment #2)
Yeah, i did off main branch from here https://github.com/freebsd/freebsd-ports/blob/main/sysutils/lsd/Makefile
(In reply to Andrey Cherkashin from comment #3)
Can you regenerate after pulling from main? I suspect your patches are based on an earlier version before a treewide removal of $FreeBSD$ tag and whitespace cleanup.
Created attachment 224000 [details]
Patch with fixed tabs
(In reply to Kevin Bowling from comment #4)
I pulled before updating and before making patch.
I don't see $FreeBSD$ tag in my makefile or patch. What error are you getting when applying this patch?
Created attachment 224030 [details]
I had trouble applying the patch in attachment 224000 [details] because it has DOS line endings instead of UNIX. I am attaching a fixed version of the patch that applies correctly.
A commit in branch main references this bug:
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2021-04-11 18:36:20 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-04-11 18:37:54 +0000
sysutils/lsd: Update to 0.20.1
Reviewed by: William MacKay <email@example.com>
Approved by: Andrey Cherkashin <firstname.lastname@example.org> (maintainer)
sysutils/lsd/Makefile | 144 ++++++++++++++-----------
sysutils/lsd/distinfo | 284 ++++++++++++++++++++++++++++----------------------
2 files changed, 242 insertions(+), 186 deletions(-)