We depend on gnu patch.. Calling explicitly gpatch instead of patch avoids problems on arches where both are installed. There's a few instances of this in eclass/eutils.eclass if (cat ${PATCH_TARGET} | patch -p${count} ${popts} --dry-run -f ; _epatch_assert) >> ${ST DERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/} 2>&1 if (cat ${PATCH_TARGET} | gpatch -p${count} ${popts} --dry-run -f ; _epatch_assert) >> ${ST DERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/} 2>&1 Reproducible: Always
As seen on [URL].
have your profile/system hijack `patch` to go to GNU patch just like is done with sed -> gsed