Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237872 - Explicitly call gpatch
Summary: Explicitly call gpatch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Solaris
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 20:04 UTC by C.
Modified: 2008-10-26 06:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C. 2008-09-16 20:04:06 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 21:28:32 UTC
As seen on [URL].
Comment 2 SpanKY gentoo-dev 2008-10-26 06:00:00 UTC
have your profile/system hijack `patch` to go to GNU patch just like is done with sed -> gsed