Skip to contentSkip to conversation

patch 2.6 rejects relative paths

DISCUSSION Elena Vengerova 2 participants 3 messages Mar 29, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I have patch 2.6.1 on my Fedora.
I've found out that it rejects patches like recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch with relative paths:

--- ../generic/tclStrToD.c.orig
+++ ../generic/tclStrToD.c

I failed to find the reason, but my colleague said me (she was unsure) that it was security hole fix. Thus looks like it's no way to force patch behave like old one.

I wonder if some work around is possible (except patch downgrade) or it's necessary to fix the recipes.

Thanks,
Helen

#1 lore raw
Quoted 9 lines · Elena Vengerova

Hello,

I have patch 2.6.1 on my Fedora.
I've found out that it rejects patches like recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch with relative paths:

generic/tclStrToD.c renamed from generic/tclStrToD.c.orig +0 -0
Quoted 6 lines

I failed to find the reason, but my colleague said me (she was unsure) that it was security hole fix.
Thus looks like it's no way to force patch behave like old one.

I wonder if some work around is possible (except patch downgrade) or it's necessary to fix the recipes.

What metadata are you using (and branch name)? This should be fixed in current openembedded.org master.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#2 lore raw
Quoted 10 lines · Tom Rini
Quoted 9 lines · Elena Vengerova

Hello,

I have patch 2.6.1 on my Fedora.
I've found out that it rejects patches like recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch with relative paths:

generic/tclStrToD.c renamed from generic/tclStrToD.c.orig +0 -0
Quoted 9 lines
Quoted 6 lines

I failed to find the reason, but my colleague said me (she was unsure) that it was security hole fix.
Thus looks like it's no way to force patch behave like old one.

I wonder if some work around is possible (except patch downgrade) or it's necessary to fix the recipes.

What metadata are you using (and branch name)? This should be fixed in current openembedded.org master.

I use release-2011.03 (I hope).
Sorry, I'm new in OE, not sure what do you exactly mean by "metadata" (the term itself is bit ambiguous). I'm trying to build meta-toolchain recipe with local config almost same as sample one.

Nice to hear that it's fixed.

Thanks a lot,
Elena