lrzsz: fix compilation with GCC14
authorRobert Marko <redacted>
Thu, 1 May 2025 20:17:15 +0000 (22:17 +0200)
committerRobert Marko <redacted>
Thu, 1 May 2025 21:11:40 +0000 (23:11 +0200)
commit067a5c3415a1325f49d6150aaf97a068002e9957
treea8e067357e834ad42eab95ca5fa38d4ccf8ef1b8
parentffe0cea2ffc9ee4375f80cf675a40cbc64f56bd1
lrzsz: fix compilation with GCC14

Trying to compile with GCC14 will fail on compiler sanity check with:
configure:1056:1: error: return type defaults to 'int' [-Wimplicit-int]
 1056 | main(){return(0);}
      | ^~~~

This is due to GCC14 not allowing implicit integer types anymore[1].

So, patch configure to avoid this and make it compile with GCC14.

Proper fix would be to use autoreconf to rebuild configure but configure.in
is completely outdated and would likely be more broken when regenerated.

[1] https://gcc.gnu.org/gcc-14/porting_to.html#implicit-int

Signed-off-by: Robert Marko <redacted>
utils/lrzsz/patches/400-configure-gcc14.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT