mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 14:54:33 +04:00
atlas-probe: fix compilation with GCC14
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=atlas-probe
|
||||
PKG_VERSION:=2.6.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
||||
|
||||
10
net/atlas-probe/patches/020-gcc14.patch
Normal file
10
net/atlas-probe/patches/020-gcc14.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/networking/telnetd.c
|
||||
+++ b/networking/telnetd.c
|
||||
@@ -133,6 +133,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/reboot.h>
|
||||
+#include <sys/reboot.h>
|
||||
|
||||
#define LOGIN_PREFIX "Atlas probe, see http://atlas.ripe.net/\r\n\r\n"
|
||||
#define LOGIN_PROMPT " login: "
|
||||
Reference in New Issue
Block a user