From fa64b3a61405bf0dc06c88943e44d47d5b465967 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 14 Jul 2024 11:48:27 -0700 Subject: [PATCH] linuxptp: fix compilation with GCC14 Missing header. Signed-off-by: Rosen Penev --- net/linuxptp/Makefile | 2 +- net/linuxptp/patches/020-gcc14.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/linuxptp/patches/020-gcc14.patch diff --git a/net/linuxptp/Makefile b/net/linuxptp/Makefile index ad0b631577..e0b34d3d7e 100644 --- a/net/linuxptp/Makefile +++ b/net/linuxptp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=linuxptp PKG_VERSION:=4.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/$(PKG_NAME)/v$(PKG_VERSION) diff --git a/net/linuxptp/patches/020-gcc14.patch b/net/linuxptp/patches/020-gcc14.patch new file mode 100644 index 0000000000..13ac07310c --- /dev/null +++ b/net/linuxptp/patches/020-gcc14.patch @@ -0,0 +1,10 @@ +--- a/interface.c ++++ b/interface.c +@@ -5,6 +5,7 @@ + * @note SPDX-License-Identifier: GPL-2.0+ + */ + #include ++#include + #include "interface.h" + + struct interface { -- 2.30.2