Skip to contentSkip to conversation

gegl: fix CR+LF newlines in the patch, as it fails to apply

PATCH In review Denys Dmytriyenko 2 participants 4 messages Apr 10, 2009 – Apr 14, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gegl: fix CR+LF newlines in the patch, as it fails to apply

---
 recipes/gimp/gegl/gegl-resilience.patch |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
recipes/gimp/gegl/gegl-resilience.patch +11 -11
index 0e35dd5..70424ec 100644
@@ -1,11 +1,11 @@
---- trunk/operations/external/ff-load.c	2008-12-20 13:37:05.000000000 -0800
-+++ trunk/operations/external/ff-load.c	2008-12-20 13:37:22.000000000 -0800
-@@ -278,7 +278,7 @@
-       p->enc = p->video_st->codec;
-       p->codec = avcodec_find_decoder (p->enc->codec_id);
- 
--      p->enc->error_resilience = 2;
-+      p->enc->error_recognition = 2;
-       p->enc->error_concealment = 3;
-       p->enc->workaround_bugs = FF_BUG_AUTODETECT;
- 
+--- trunk/operations/external/ff-load.c	2008-12-20 13:37:05.000000000 -0800
++++ trunk/operations/external/ff-load.c	2008-12-20 13:37:22.000000000 -0800
+@@ -278,7 +278,7 @@
+       p->enc = p->video_st->codec;
+       p->codec = avcodec_find_decoder (p->enc->codec_id);
+ 
+-      p->enc->error_resilience = 2;
++      p->enc->error_recognition = 2;
+       p->enc->error_concealment = 3;
+       p->enc->workaround_bugs = FF_BUG_AUTODETECT;
+ 
Signature · 1 line
1.6.0.6
#1 lore raw
Quoted 2 lines · Denys Dmytriyenko

Ah, as I thought - CR+LF newlines were lost somewhere in the MTA/MUA transfer...

But, if anybody cares, you can download the patch by wget and examine it in hexview :)

$ wget 'http://cgit.openembedded.net/cgit.cgi?url=openembedded/patch/&id=51893f23d9ec8ba94d9a29be7da3914bf2259eaf' -O gegl-newlines.patch

Not sure why my quilt/patch fails to apply the patch with CR+LF newlines though, as it appears to work fine for others.

Quoted 33 lines
---
 recipes/gimp/gegl/gegl-resilience.patch |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
recipes/gimp/gegl/gegl-resilience.patch +11 -11
index 0e35dd5..70424ec 100644
@@ -1,11 +1,11 @@
---- trunk/operations/external/ff-load.c	2008-12-20 13:37:05.000000000 -0800
-+++ trunk/operations/external/ff-load.c	2008-12-20 13:37:22.000000000 -0800
-@@ -278,7 +278,7 @@
-       p->enc = p->video_st->codec;
-       p->codec = avcodec_find_decoder (p->enc->codec_id);
- 
--      p->enc->error_resilience = 2;
-+      p->enc->error_recognition = 2;
-       p->enc->error_concealment = 3;
-       p->enc->workaround_bugs = FF_BUG_AUTODETECT;
- 
+--- trunk/operations/external/ff-load.c	2008-12-20 13:37:05.000000000 -0800
++++ trunk/operations/external/ff-load.c	2008-12-20 13:37:22.000000000 -0800
+@@ -278,7 +278,7 @@
+       p->enc = p->video_st->codec;
+       p->codec = avcodec_find_decoder (p->enc->codec_id);
+ 
+-      p->enc->error_resilience = 2;
++      p->enc->error_recognition = 2;
+       p->enc->error_concealment = 3;
+       p->enc->workaround_bugs = FF_BUG_AUTODETECT;
+ 
Signature · 1 line
1.6.0.6
#2 lore raw
Quoted 7 lines · Denys Dmytriyenko
Quoted 2 lines · Denys Dmytriyenko

Ah, as I thought - CR+LF newlines were lost somewhere in the MTA/MUA transfer...

Quoted 7 lines

But, if anybody cares, you can download the patch by wget and examine it in hexview :)

$ wget 'http://cgit.openembedded.net/cgit.cgi?url=openembedded/patch/&id=51893f23d9ec8ba94d9a29be7da3914bf2259eaf' -O gegl-newlines.patch

Not sure why my quilt/patch fails to apply the patch with CR+LF newlines though, as it appears to work fine for others.

If you can manage to get it into git properly: Acked-by: Koen Kooi <[email protected]>

regards,

Koen

#3 lore raw
Quoted 16 lines · Koen Kooi
Quoted 15 lines · Denys Dmytriyenko
Quoted 2 lines · Denys Dmytriyenko

Ah, as I thought - CR+LF newlines were lost somewhere in the MTA/MUA transfer...

But, if anybody cares, you can download the patch by wget and examine it in
hexview :)

$ wget 
'http://cgit.openembedded.net/cgit.cgi?url=openembedded/patch/&id=51893f23d9ec8ba94d9a29be7da3914bf2259eaf' 
-O gegl-newlines.patch
Quoted 5 lines
Quoted 2 lines

Not sure why my quilt/patch fails to apply the patch with CR+LF newlines though, as it appears to work fine for others.

If you can manage to get it into git properly: Acked-by: Koen Kooi <[email protected]>

There is no problem with git - it preserves all the characters as is, including CR and LF. I pushed it to .dev last week...

And BTW, patchwork didn't catch your Ack, as it wasn't on a separate line.

Signature · 1 line
Denys