git: 1a37cea7c744 - 2024Q1 - graphics/oidn: Replace format=bsdtar with format=ustar

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

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

commit 1a37cea7c744a9bafce50cce3e3b3152aeaaec72
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:50:02 +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>
    
    (cherry picked from commit c22e29d08774bc5ad5eee4406ae59898c5903619)
---
 graphics/oidn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/oidn/Makefile b/graphics/oidn/Makefile
index ca3af939c4a2..365fef9d9fc0 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