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:)
hit this exacte problem trying to apply this patch https://launchpadlibrarian.net/742553699/wpa_2%3A2.10-21_2%3A2.10-21ubuntu0.1.diff.gz