Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 303669 | Differences between
and this patch

Collapse All | Expand All

(-)portage-2.2.00.15320.ebuild.orig (+13 lines)
Lines 81-86 Link Here
81
81
82
	epatch "${FILESDIR}"/${PN}-2.2.00.13849-ebuildshell.patch #155161
82
	epatch "${FILESDIR}"/${PN}-2.2.00.13849-ebuildshell.patch #155161
83
83
84
	if [[ ${CHOST} == *-interix* ]] ; then
85
		# replace "xargs" with "xargs -s 4000" for all scripts in bin
86
		find ./bin -type f | while read f ; do
87
			# loose sanity check: only patch files beginning with '#'
88
			[[ "$( head -c 1 "${f}" )" == "#" ]] || continue
89
			if grep -q xargs "${f}" ; then
90
				einfo patching xargs references in ${f}
91
				sed -e 's/xargs/xargs -s 4000/g' -i "${f}"
92
			fi
93
		done
94
		epatch "${FILESDIR}"/${PN}-2.2.00.15320-interix-temp.patch
95
	fi
96
84
	use prefix-chaining && epatch "${FILESDIR}"/${PN}-2.2.00.15200-prefix-chaining.patch
97
	use prefix-chaining && epatch "${FILESDIR}"/${PN}-2.2.00.15200-prefix-chaining.patch
85
}
98
}
86
99

Return to bug 303669