[17/19] telnet: Fix build with GCC 14

Message ID 20240819100608.991138-18-michael.tremer@ipfire.org
State Staged
Commit d26c687fbd4e7645e5015f07024d6a263310bef3
Headers
Series [01/19] expect: Fix build with GCC 14.2 |

Commit Message

Michael Tremer Aug. 19, 2024, 10:06 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/telnet | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/lfs/telnet b/lfs/telnet
index 239c79e43..712098fe1 100644
--- a/lfs/telnet
+++ b/lfs/telnet
@@ -34,12 +34,15 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = telnet
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       =
 
 SERVICES   =
 
+# Fixes build with GCC 14
+CFLAGS += -Wno-error=implicit-function-declaration -Wno-error=int-conversion
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################