atlas-probe: fix compilation with GCC14
authorRosen Penev <rosenp@gmail.com>
Wed, 30 Oct 2024 04:43:22 +0000 (21:43 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 10 Nov 2024 18:42:46 +0000 (10:42 -0800)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/atlas-probe/Makefile
net/atlas-probe/patches/020-gcc14.patch [new file with mode: 0644]

index 3c0845c0deccc6b652b9a0433f081356a2e1225e..8724a8729ecea77cd190dedec4af2a2d0fbc7d9f 100644 (file)
@@ -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)
diff --git a/net/atlas-probe/patches/020-gcc14.patch b/net/atlas-probe/patches/020-gcc14.patch
new file mode 100644 (file)
index 0000000..442ddc1
--- /dev/null
@@ -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: "