From d3dad5b10b443eb94cf482f92ae8929a722412d6 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 17 Sep 2024 17:51:36 -0700 Subject: [PATCH] uboot-kirkwood: fix compilation with GCC14 Missing header. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16467 Signed-off-by: Hauke Mehrtens --- package/boot/uboot-kirkwood/Makefile | 2 +- package/boot/uboot-kirkwood/patches/180-netgear-stora.patch | 3 ++- package/boot/uboot-kirkwood/patches/200-openwrt-config.patch | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-kirkwood/Makefile b/package/boot/uboot-kirkwood/Makefile index 7338e5d868..afeee805a0 100644 --- a/package/boot/uboot-kirkwood/Makefile +++ b/package/boot/uboot-kirkwood/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_VERSION:=2020.04 -PKG_RELEASE:=10 +PKG_RELEASE:=11 PKG_HASH:=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372 diff --git a/package/boot/uboot-kirkwood/patches/180-netgear-stora.patch b/package/boot/uboot-kirkwood/patches/180-netgear-stora.patch index c6aced4221..bdf82ebea5 100644 --- a/package/boot/uboot-kirkwood/patches/180-netgear-stora.patch +++ b/package/boot/uboot-kirkwood/patches/180-netgear-stora.patch @@ -230,7 +230,7 @@ + --- /dev/null +++ b/board/Marvell/netgear_ms2110/netgear_ms2110.c -@@ -0,0 +1,151 @@ +@@ -0,0 +1,152 @@ +/* + * Copyright (C) 2014-2017 bodhi + * @@ -264,6 +264,7 @@ +#include +#include +#include "netgear_ms2110.h" ++#include +#include + +DECLARE_GLOBAL_DATA_PTR; diff --git a/package/boot/uboot-kirkwood/patches/200-openwrt-config.patch b/package/boot/uboot-kirkwood/patches/200-openwrt-config.patch index 4cf874b368..00bc29f13e 100644 --- a/package/boot/uboot-kirkwood/patches/200-openwrt-config.patch +++ b/package/boot/uboot-kirkwood/patches/200-openwrt-config.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-kirkwood/Kconfig +++ b/arch/arm/mach-kirkwood/Kconfig -@@ -111,4 +111,7 @@ source "board/alliedtelesis/SBx81LIFXCAT +@@ -115,4 +115,7 @@ source "board/alliedtelesis/SBx81LIFXCAT source "board/Marvell/db-88f6281-bp/Kconfig" source "board/checkpoint/l-50/Kconfig" -- 2.30.2