I've tested this patch on the latest DragonFly BSD (development version as of 2019-09-17) and git-lfs works well. Signed-off-by: Aaron LI <aly@aaronly.me>