From: Rosen Penev Date: Sun, 14 Jul 2024 18:48:27 +0000 (-0700) Subject: linuxptp: fix compilation with GCC14 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fa64b3a61405bf0dc06c88943e44d47d5b465967;p=openwrt-packages.git linuxptp: fix compilation with GCC14 Missing header. Signed-off-by: Rosen Penev --- diff --git a/net/linuxptp/Makefile b/net/linuxptp/Makefile index ad0b63157..e0b34d3d7 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 000000000..13ac07310 --- /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 {