From: Mingli Yu <[email protected]>

Fixes:
  ERROR: freeradius-3.2.9-r0.wr2600 do_patch: QA Issue: Fuzz detected:

  checking file src/main/version.c
  Hunk #1 succeeded at 622 with fuzz 1 (offset 8 lines).

  patching file src/main/version.c
  Hunk #1 succeeded at 622 with fuzz 1 (offset 8 lines).

Signed-off-by: Mingli Yu <[email protected]>
---
 .../0016-version.c-don-t-print-build-flags.patch      | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git 
a/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch
 
b/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch
index 8917457ec2..6fb9d9fa3b 100644
--- 
a/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch
+++ 
b/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch
@@ -1,4 +1,4 @@
-From 99ea83d998d3b8957830afa15cec42ba265b67ca Mon Sep 17 00:00:00 2001
+From ac503b5395d566c677013c051165290ab024cdef Mon Sep 17 00:00:00 2001
 From: Mingli Yu <[email protected]>
 Date: Wed, 3 Aug 2022 16:44:29 +0800
 Subject: [PATCH] version.c: don't print build flags
@@ -13,10 +13,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 13 deletions(-)
 
 diff --git a/src/main/version.c b/src/main/version.c
-index 44a6edc699..a0e6f26911 100644
+index 1bdb562..0368fba 100644
 --- a/src/main/version.c
 +++ b/src/main/version.c
-@@ -614,19 +614,6 @@ void version_print(void)
+@@ -622,19 +622,6 @@ void version_print(void)
                DEBUG2("  unknown");
  #endif
  
@@ -35,7 +35,4 @@ index 44a6edc699..a0e6f26911 100644
 -#endif
                DEBUG2("  ");
        }
-       INFO("FreeRADIUS Version " RADIUSD_VERSION_STRING);
--- 
-2.25.1
-
+ 
-- 
2.49.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127435): 
https://lists.openembedded.org/g/openembedded-devel/message/127435
Mute This Topic: https://lists.openembedded.org/mt/119719289/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to