Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 761322
Collapse All | Expand All

(-)a/scripts/bootstrap-prefix.sh (-2 / +17 lines)
Lines 862-867 bootstrap_gnu() { Link Here
862
	[[ -d ${S} ]] || return 1
862
	[[ -d ${S} ]] || return 1
863
	cd "${S}" || return 1
863
	cd "${S}" || return 1
864
864
865
	# Tar upstream bug #59755 for broken build on macOS:
866
	# https://savannah.gnu.org/bugs/index.php?59755
867
	if [[ ${PN}-${PV} == "tar-1.32" ]] ; then
868
		local tar_patch_file="tar-1.32-check-sys-ioctl-header-configure.patch"
869
		local tar_patch_id="file_id=50554"
870
		local tar_patch_url="https://file.savannah.gnu.org/file/${tar_patch_file}?${tar_patch_id}"
871
		efetch "${tar_patch_url}" || return 1
872
		# If fetched from upstream url instead of mirror, filename will
873
		# have a suffix. Remove suffix by copy, not move, to not
874
		# trigger refetch on repeated invocations of this script.
875
		if [[ -f "${DISTDIR}/${tar_patch_file}?${tar_patch_id}" ]]; then
876
			cp ${DISTDIR}/${tar_patch_file}{?${tar_patch_id},} || return 1
877
		fi
878
		patch -p1 < ${DISTDIR}/${tar_patch_file} || return 1
879
	fi
880
865
	if [[ ${PN}-${PV} == "bash-4.3" && ${CHOST} == *-cygwin* ]] ; then
881
	if [[ ${PN}-${PV} == "bash-4.3" && ${CHOST} == *-cygwin* ]] ; then
866
		local p patchopts
882
		local p patchopts
867
		for p in \
883
		for p in \
Lines 1309-1315 bootstrap_coreutils() { Link Here
1309
}
1325
}
1310
1326
1311
bootstrap_tar() {
1327
bootstrap_tar() {
1312
	bootstrap_gnu tar 1.26
1328
	bootstrap_gnu tar 1.32
1313
}
1329
}
1314
1330
1315
bootstrap_make() {
1331
bootstrap_make() {
1316
- 

Return to bug 761322