Skip to contentSkip to conversation

projucer: Refresh patch to apply cleanly

PATCH In review Khem Raj 2 participants 2 messages Nov 17, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 projucer: Refresh patch to apply cleanly

This was resulting on rejects on master

patching file modules/juce_core/system/juce_StandardHeader.h
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- rejects in file modules/juce_core/system/juce_StandardHeader.h Patch 0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch does not apply (enforce with -f)

Cc Yoann Congal <[email protected]>
---
 ...r-Include-utility-for-GCC-12-compatibil.patch | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
meta-multimedia/recipes-multimedia/juce/projucer/0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch +7 -9
index ae77aeef10..3efef247ae 100644
@@ -9,15 +9,13 @@ Signed-off-by: Yoann Congal <[email protected]>
  modules/juce_core/system/juce_StandardHeader.h | 1 +
  1 file changed, 1 insertion(+)
 
-diff --git a/modules/juce_core/system/juce_StandardHeader.h b/modules/juce_core/system/juce_StandardHeader.h
-index fe164cdd3..cda6bbe86 100644
 --- a/modules/juce_core/system/juce_StandardHeader.h
 +++ b/modules/juce_core/system/juce_StandardHeader.h
 @@ -64,6 +64,7 @@
- #include <typeindex>
- #include <unordered_map>
- #include <unordered_set>
-+#include <utility>
- #include <vector>
- #include <set>
- 
+ #include <typeindex>
+ #include <unordered_map>
+ #include <unordered_set>
++#include <utility>
+ #include <vector>
+ #include <set>
+ 
Signature · 1 line
2.42.1
#1 lore raw

Hi,

Quoted 7 lines · Khem Raj

This was resulting on rejects on master

patching file modules/juce_core/system/juce_StandardHeader.h
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- rejects in file modules/juce_core/system/juce_StandardHeader.h Patch 0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch does not apply (enforce with -f)

Quoted 5 lines
Cc Yoann Congal <[email protected]>
---
 ...r-Include-utility-for-GCC-12-compatibil.patch | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

I forgot to rebuild after the devtool cycle, sorry.

Devtool seems to change the line ending between the commit and the generated patch...
Smell like a bug : https://bugzilla.yoctoproject.org/show_bug.cgi?id=15285

Regards,

Signature · 2 lines
Yoann Congal
Smile ECS - Tech expert