Skip to contentSkip to conversation

resource-agents: Fix error when do_patch

PATCH Applied [email protected] 2 participants 2 messages Oct 17, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resource-agents: Fix error when do_patch

From: Wang Mingyu <[email protected]>

To fix conflict when do_patch:
ERROR: resource-agents-4.5.0-r0 do_patch: QA Issue: Fuzz detected:

Applying patch autoconf-2.73.patch
patching file configure.ac
Hunk #1 succeeded at 883 with fuzz 2.

---
 .../resource-agents/autoconf-2.73.patch           | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch +8 -7
index af188d2..dd3e1d1 100644
@@ -15,16 +15,17 @@ Signed-off-by: Lei Maohui <[email protected]>
  1 file changed, 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index d682ad780..84444a525 100644
+index d682ad7..84444a5 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -883,7 +883,6 @@ else
-		-Wno-strict-aliasing
-		-Wpointer-arith
-		-Wstrict-prototypes
+ 		-Wno-strict-aliasing
+ 		-Wpointer-arith 
+ 		-Wstrict-prototypes
 -		-Wunsigned-char
-		-Wwrite-strings"
-
+ 		-Wwrite-strings"
+ 
  # Additional warnings it might be nice to enable one day
---
+-- 
 2.34.1
+
Signature · 1 line
2.34.1
#1 lore raw

Merged, thanks!

Quoted 43 lines · On 10/16/2023 5:31 PM, [email protected] wrote:

From: Wang Mingyu <[email protected]>

To fix conflict when do_patch:
ERROR: resource-agents-4.5.0-r0 do_patch: QA Issue: Fuzz detected:

Applying patch autoconf-2.73.patch
patching file configure.ac
Hunk #1 succeeded at 883 with fuzz 2.

---
  .../resource-agents/autoconf-2.73.patch           | 15 ++++++++-------
  1 file changed, 8 insertions(+), 7 deletions(-)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch +8 -7
index af188d2..dd3e1d1 100644
@@ -15,16 +15,17 @@ Signed-off-by: Lei Maohui <[email protected]>
   1 file changed, 1 deletion(-)
 
  diff --git a/configure.ac b/configure.ac
-index d682ad780..84444a525 100644
+index d682ad7..84444a5 100644
  --- a/configure.ac
  +++ b/configure.ac
  @@ -883,7 +883,6 @@ else
-		-Wno-strict-aliasing
-		-Wpointer-arith
-		-Wstrict-prototypes
+ 		-Wno-strict-aliasing
+ 		-Wpointer-arith
+ 		-Wstrict-prototypes
  -		-Wunsigned-char
-		-Wwrite-strings"
-
+ 		-Wwrite-strings"
+
   # Additional warnings it might be nice to enable one day
---
+--
  2.34.1
+
Signature · 2 lines
Jeremy Puhlman
[email protected]