git: c22e29d08774 - main - graphics/oidn: Replace format=bsdtar with format=ustar

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 19 Feb 2024 01:33:43 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c22e29d08774bc5ad5eee4406ae59898c5903619

commit c22e29d08774bc5ad5eee4406ae59898c5903619
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-19 01:30:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-19 01:33:41 +0000

    graphics/oidn: Replace format=bsdtar with format=ustar
    
    ... because the undocumented format bsdtar adds paxheaders on
    some systems, therefore breaking the fetch.
    
    The documentation for format=bsdtar should be added:
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277139
    
    PR:             253814
    Reported by:    Mamoru IWAKI <1wkmmr@gmail.com>
---
 graphics/oidn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/oidn/Makefile b/graphics/oidn/Makefile
index 36d7b0371dfb..3547b6c8af21 100644
--- a/graphics/oidn/Makefile
+++ b/graphics/oidn/Makefile
@@ -65,7 +65,7 @@ pre-fetch:
 		) && \
 		${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
 		${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -print0 | LC_ALL=C ${SORT} -z | \
-		${TAR} czf ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \
+		${TAR} czf ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX} --format=ustar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \
 		${RM} -r ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}; \
 	fi