summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
authorMeng Li <Meng.Li@windriver.com>2024-07-09 15:04:45 +0800
committerHiago De Franco <hiago.franco@toradex.com>2024-08-27 14:02:42 -0300
commit86e931c872d358ced5eb3ac32aa010cd22e9a6be (patch)
treeb7135e817fe61bd5a6f5628165a67184b649fbea /dynamic-layers
parent250a269c30e71669693d5d98cd9174e857325ffc (diff)
downloadmeta-freescale-86e931c872d358ced5eb3ac32aa010cd22e9a6be.tar.gz
fmc: update patch format
The code of fmc package is created in windows editer environment, and the CRLF is different from unix format, so update patch format so that apply patch smoothly. Signed-off-by: Meng Li <Meng.Li@windriver.com> (cherry picked from commit a43e9940547ddcd93fae81f6934b006e7b567f6e)
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch38
1 files changed, 19 insertions, 19 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch
index 06cafa72d..5769d5552 100644
--- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch
+++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch
@@ -1,7 +1,7 @@
1From 329c8ab2770ab34d887296a35585fac53c8bedb7 Mon Sep 17 00:00:00 2001 1From 018249d180705657efbecdce3736c9a415412762 Mon Sep 17 00:00:00 2001
2From: Meng Li <Meng.Li@windriver.com> 2From: Meng Li <Meng.Li@windriver.com>
3Date: Wed, 5 Jun 2024 18:54:22 +0800 3Date: Tue, 9 Jul 2024 14:35:06 +0800
4Subject: [PATCH] FMCCFGReader: improve parameter definition of function 4Subject: [PATCH] FMCCFGReader: improve parameter definition of function
5 errorFuncHandler 5 errorFuncHandler
6 6
7When building fmc package, there is below error: 7When building fmc package, there is below error:
@@ -30,27 +30,27 @@ index a1a87a4..c11742c 100644
30--- a/source/FMCGenericError.cpp 30--- a/source/FMCGenericError.cpp
31+++ b/source/FMCGenericError.cpp 31+++ b/source/FMCGenericError.cpp
32@@ -33,7 +33,7 @@ 32@@ -33,7 +33,7 @@
33 #include "FMCUtils.h" 33 #include "FMCUtils.h"
34 #include "logger.hpp" 34 #include "logger.hpp"
35 35
36-void errorFuncHandler( void * ctx, xmlErrorPtr error ) 36-void errorFuncHandler( void * ctx, xmlErrorPtr error )
37+void errorFuncHandler( void * ctx, const xmlError *error ) 37+void errorFuncHandler( void * ctx, const xmlError *error )
38 { 38 {
39 char *filestr = (char*)""; 39 char *filestr = (char*)"";
40 char *msgstr = (char*)""; 40 char *msgstr = (char*)"";
41diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h 41diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h
42index 504a81b..61ab6c1 100644 42index 504a81b..61ab6c1 100644
43--- a/source/FMCGenericError.h 43--- a/source/FMCGenericError.h
44+++ b/source/FMCGenericError.h 44+++ b/source/FMCGenericError.h
45@@ -35,7 +35,7 @@ 45@@ -35,7 +35,7 @@
46 46
47 const int NO_LINE = -1; 47 const int NO_LINE = -1;
48 48
49-void errorFuncHandler( void * ctx, xmlErrorPtr error ); 49-void errorFuncHandler( void * ctx, xmlErrorPtr error );
50+void errorFuncHandler( void * ctx, const xmlError *error ); 50+void errorFuncHandler( void * ctx, const xmlError *error );
51 51
52 52
53 class CGenericError { 53 class CGenericError {
54-- 54--
552.34.1 552.34.1
56 56