diff mbox series

[v2] package/batman-adv: update to 2023.1

Message ID ZNWRcJrlXwFFkUtG@waldemar-brodkorb.de
State Accepted
Headers show
Series [v2] package/batman-adv: update to 2023.1 | expand

Commit Message

Waldemar Brodkorb Aug. 11, 2023, 1:40 a.m. UTC
Older Batman-adv versions fail to build with kernel 6.4.x
with following error message:
bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]

prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4
from the Linux kernel.

Fixes:
 - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd

For other changes in this release, see:
https://www.open-mesh.org/news/112

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
v1 -> v2:
 - move locally computed sha256 hash to the right place, mentioned
   by Thomas Petazzoni
---
 package/batman-adv/batman-adv.hash | 7 ++++---
 package/batman-adv/batman-adv.mk   | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

Comments

Thomas Petazzoni Sept. 30, 2023, 9:25 a.m. UTC | #1
On Fri, 11 Aug 2023 03:40:00 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> Older Batman-adv versions fail to build with kernel 6.4.x
> with following error message:
> bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]
> 
> prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4
> from the Linux kernel.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd
> 
> For other changes in this release, see:
> https://www.open-mesh.org/news/112
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> v1 -> v2:
>  - move locally computed sha256 hash to the right place, mentioned
>    by Thomas Petazzoni
> ---
>  package/batman-adv/batman-adv.hash | 7 ++++---
>  package/batman-adv/batman-adv.mk   | 2 +-
>  2 files changed, 5 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
Peter Korsgaard Oct. 12, 2023, 4:33 p.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > On Fri, 11 Aug 2023 03:40:00 +0200
 > Waldemar Brodkorb <wbx@openadk.org> wrote:

 >> Older Batman-adv versions fail to build with kernel 6.4.x
 >> with following error message:
 >> bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]
 >> 
 >> prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4
 >> from the Linux kernel.
 >> 
 >> Fixes:
 >> - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd
 >> 
 >> For other changes in this release, see:
 >> https://www.open-mesh.org/news/112
 >> 
 >> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
 >> ---
 >> v1 -> v2:
 >> - move locally computed sha256 hash to the right place, mentioned
 >> by Thomas Petazzoni
 >> ---
 >> package/batman-adv/batman-adv.hash | 7 ++++---
 >> package/batman-adv/batman-adv.mk   | 2 +-
 >> 2 files changed, 5 insertions(+), 4 deletions(-)

 > Applied to master, thanks.

Committed to 2023.08.x, thanks.
diff mbox series

Patch

diff --git a/package/batman-adv/batman-adv.hash b/package/batman-adv/batman-adv.hash
index 14a92c231a..b95dfa34dd 100644
--- a/package/batman-adv/batman-adv.hash
+++ b/package/batman-adv/batman-adv.hash
@@ -1,7 +1,8 @@ 
-# From https://downloads.open-mesh.org/batman/releases/batman-adv-2022.2/batman-adv-2022.2.tar.gz.sha1
-sha1  e1829e10fc37ea674a20cb9ba1d6c1483042fbfa  batman-adv-2022.2.tar.gz
+# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2023.1.tar.gz.sha1
+sha1  e3d6e8d4db772156d7ad021b9a166832633a2ea5  batman-adv-2023.1.tar.gz
+# locally computed
+sha256  f46a7286660a5ec3506a1be7ef60b471c51ac70550597d598040479ab7b936b8  batman-adv-2022.3.tar.gz
 
 # Hash for license files
-sha256  218ffb534fead1c9b5b0d90ec1b2fba688209cdf00e861bece1cbf469fe69953  batman-adv-2022.3.tar.gz
 sha256  cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025  LICENSES/preferred/GPL-2.0
 sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk
index 75b8292ee1..5b50572d11 100644
--- a/package/batman-adv/batman-adv.mk
+++ b/package/batman-adv/batman-adv.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-BATMAN_ADV_VERSION = 2022.3
+BATMAN_ADV_VERSION = 2023.1
 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
 BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h)
 BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT