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>
This commit is contained in:
Yuri Victorovich 2024-02-18 17:30:02 -08:00
parent c6b0bdbe71
commit c22e29d087
1 changed files with 1 additions and 1 deletions

View File

@ -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