Created attachment 225369 [details]
Patch for port Makefile & htop 3.0.4 files.
The patch adds regex support to filter function of htop via GNU regex library. Main patch set -- everything but the port Makefile -- has been manually updated from an old version located at ...
... which was never adopted by earlier maintainer(s).
I suggest also send a pull request to htop new upstream: https://github.com/htop-dev/htop
And, have you tried to apply it to htop 3.0.5?
(In reply to Hung-Yi Chen from comment #1)
No, I have not tried to apply to version 3.0.5? Is it in Ports now?
The I had submitted does not apply to 3.0.5 version.
I was trying to log in here, but keep getting "password invalid" message in Firefox on FreeBSD in virtual machine. I am typing this in Firefox on Windows. Now, my account is about to be locked. Excellent.
Next I will post the patch set against version 3.0.5.
Created attachment 225443 [details]
Patch for port Makefile & htop 3.0.5 files.
- This patch for htop 3.0.5 is independent of previous patch submitted.
- The Ports collection still had version 3.0.4. It assumes that sysutils/htop is already at 3.0.5.
- It does not updated the existing port to 3.0.5.
(In reply to parv from comment #4)
The patch builds file and approved by the maintainer. Do you want to set your full name at https://bugs.freebsd.org/bugzilla/userprefs.cgi?tab=account so we can put that in `git commit --author`? Thanks!
(In reply to Li-Wen Hsu from comment #6)
"parv" (without quotes of course) is good for the git-author entry.