mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/nanocom: fix build with GCC 14
GCC 14 made implicit function definitions an error and the forward declaration
for display_state() was using the wrong name, causing a compilation
failure at the call site.
Fixes: https://autobuild.buildroot.org/results/ebf/ebf500c48aaa357aaac3a88d87ef8f5c07cd78b6
Signed-off-by: Florian Larysch <fl@n621.de>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from commit 6db1aeaeef)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
1e783e770c
commit
b9c7bb1143
19
package/nanocom/0002-fix-build-with-gcc-14.patch
Normal file
19
package/nanocom/0002-fix-build-with-gcc-14.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
GCC 14 made implicit function definitions an error and the forward declaration
|
||||
for display_state() was using the wrong name, causing a compilation
|
||||
failure at the call site.
|
||||
|
||||
Upstream: Submitted to author via email
|
||||
Signed-off-by: Florian Larysch <fl@n621.de>
|
||||
|
||||
diff -purN old/nanocom.h new/nanocom.h
|
||||
--- old/nanocom.h 2025-08-10 01:34:12.000284003 +0200
|
||||
+++ new/nanocom.h 2025-08-10 01:27:59.545821909 +0200
|
||||
@@ -56,7 +56,7 @@ void cleanup_termios(int signal);
|
||||
void init_stdin(struct termios *sts);
|
||||
void init_comm();
|
||||
void usage( char *str);
|
||||
-void display_status();
|
||||
+void display_state();
|
||||
|
||||
|
||||
/*typedef to represent the current line state
|
||||
Reference in New Issue
Block a user