Summary: | net-wireless/wpa_supplicant-2.6 default prepare prevents git patches being applied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Auty (RETIRED) <ikelos> |
Component: | Current packages | Assignee: | Rick Farina (Zero_Chaos) <zerochaos> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to alter the src_prepare phase to work in a more appropriate directory |
Created attachment 554962 [details, diff] Patch to alter the src_prepare phase to work in a more appropriate directory Hiya, at the moment default in the src_prepare phase is applied at the start to the wpa_supplicant ebuild's src_prepare phase. This brings about two issues: * The patches being applied by the default happen under ${S} which is ${WORKDIR}/${P}/${PN}, so patches from upstream git require modification (to remove the ${PN} or add "../") before they can be applied. * Patches applied in the default src_prepare are applied before patches in the ebuild. This means that the user cannot ever change patches applied by the ebuild other than by constructing a new ebuild. Both of these decrease the usefulness of the default src_prepare user patches. Attached is a diff for wpa_supplicant-2.6-r8 that resets the "${S}" value to its default, removes several "../" and moves the default src_prepare until after all other patches have been applied within the ebuild. Let me know if you see any issues getting this applied... 5:)