From a43e9940547ddcd93fae81f6934b006e7b567f6e Mon Sep 17 00:00:00 2001 From: Meng Li Date: Tue, 9 Jul 2024 15:04:45 +0800 Subject: [PATCH] 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 --- ...rove-parameter-definition-of-functio.patch | 38 +++++++++---------- 1 file 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 @@ -From 329c8ab2770ab34d887296a35585fac53c8bedb7 Mon Sep 17 00:00:00 2001 +From 018249d180705657efbecdce3736c9a415412762 Mon Sep 17 00:00:00 2001 From: Meng Li -Date: Wed, 5 Jun 2024 18:54:22 +0800 -Subject: [PATCH] FMCCFGReader: improve parameter definition of function +Date: Tue, 9 Jul 2024 14:35:06 +0800 +Subject: [PATCH] FMCCFGReader: improve parameter definition of function errorFuncHandler When building fmc package, there is below error: @@ -30,27 +30,27 @@ index a1a87a4..c11742c 100644 --- a/source/FMCGenericError.cpp +++ b/source/FMCGenericError.cpp @@ -33,7 +33,7 @@ - #include "FMCUtils.h" - #include "logger.hpp" - --void errorFuncHandler( void * ctx, xmlErrorPtr error ) -+void errorFuncHandler( void * ctx, const xmlError *error ) - { - char *filestr = (char*)""; - char *msgstr = (char*)""; + #include "FMCUtils.h" + #include "logger.hpp" + +-void errorFuncHandler( void * ctx, xmlErrorPtr error ) ++void errorFuncHandler( void * ctx, const xmlError *error ) + { + char *filestr = (char*)""; + char *msgstr = (char*)""; diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h index 504a81b..61ab6c1 100644 --- a/source/FMCGenericError.h +++ b/source/FMCGenericError.h @@ -35,7 +35,7 @@ - - const int NO_LINE = -1; - --void errorFuncHandler( void * ctx, xmlErrorPtr error ); -+void errorFuncHandler( void * ctx, const xmlError *error ); - - - class CGenericError { + + const int NO_LINE = -1; + +-void errorFuncHandler( void * ctx, xmlErrorPtr error ); ++void errorFuncHandler( void * ctx, const xmlError *error ); + + + class CGenericError { -- 2.34.1