Files
buildroot/package/lrzsz/0002-include-stdio.h-to-remove-warning.patch
Frank Chung 13e778fcf1 package/lrzsz: fix build with gcc 15
Import upstream pull request https://github.com/UweOhse/lrzsz/pull/8
to fix GCC 15.x build issues. This pull request also replaces our
patch 0002, which is dropped by this commit.

Fixes:

  https://autobuild.buildroot.net/results/a1a5aad2ccc69aeff586d7a83620f10d51ccfdb6/

Signed-off-by: Frank Chung <uuidxx@163.com>
[Thomas:
- Added two more backports needed to fix the build
- Used the actual patch submitted in the pull request, rendering our
  0002 patch useless
- Defined ac_cv_type_signal as a workaround to a configure script issue]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-08-22 12:32:50 +02:00

27 lines
648 B
Diff

From bbbaccd80c69a705f27e9236808d42088cf1f1cb Mon Sep 17 00:00:00 2001
From: Uwe Ohse <uwe@ohse.de>
Date: Mon, 2 Mar 2020 22:38:16 +0000
Subject: [PATCH] include stdio.h to remove warning
Upstream: https://github.com/UweOhse/lrzsz/commit/937a2ff696fb600672eb0e8fab87f75d5e4fbc25
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
src/lsyslog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lsyslog.c b/src/lsyslog.c
index 6baf4a2..d21ab35 100644
--- a/src/lsyslog.c
+++ b/src/lsyslog.c
@@ -24,6 +24,7 @@
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <stdio.h>
#endif
#if __STDC__
--
2.50.1