When patchin projucer in meta-openembedded, I triggered this : [meta-multimedia][PATCH] juce/projucer: Backport a fix for the compilation under recent GCC https://lists.openembedded.org/g/openembedded-devel/message/106762 ... which had to be fixed like this : [meta-multimedia][PATCH] projucer: Refresh patch to apply cleanly https://lists.openembedded.org/g/openembedded-devel/message/106872 Origin sources are CR-LF (Windows): $ file modules/juce_core/system/juce_StandardHeader.h modules/juce_core/system/juce_StandardHeader.h: C source, ASCII text, with CRLF line terminators My commit in the devtool workspace is still in CR-LF. The generated patch is LF => it does not apply cleanly.
Maybe in https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/patch.py#n464 def extractPatches():? Sightly related patches : [PATCH v2 0/2] patch: reduce changes during patch refresh https://lists.openembedded.org/g/openembedded-core/message/191105 [PATCH v2 1/2] patch: extract patches without diffstats https://lists.openembedded.org/g/openembedded-core/message/191106 [PATCH v2 2/2] patch: extract patches with all-zero hash https://lists.openembedded.org/g/openembedded-core/message/191107
Patch sent : https://lists.openembedded.org/g/openembedded-core/message/191303
Patch merged : https://git.yoctoproject.org/poky/commit/?id=2c59f5ad01aa0e6dfd1e6291e770c77041be762e