linux-atm: fix build with GCC 14
authorRany Hany <rany_hany@riseup.net>
Mon, 13 May 2024 13:34:22 +0000 (16:34 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 23 May 2024 22:09:47 +0000 (00:09 +0200)
commit3e024022c3370e94b7002ddd183ac9a622ab89d2
treea24073ce5907c433c4c34b71994f0fc2237e9723
parent6febb93cfd5ceb4c68ee5c870f5bc762b5248adb
linux-atm: fix build with GCC 14

Basic changes to make linux-atm build without any issues with GCC 14.

Besides some errors caused by -Wpointer-sign, there was also an issue
with socklen_t not being used for getsockopt() and accept()
sometimes.

I also updated the Debian patch to include the latest changes from
version "1:2.5.1-5.1" in Debian Sid. This allowed me to drop
"600-fix-format-errors.patch" and "700-include_sockios.patch".

Signed-off-by: Rany Hany <rany_hany@riseup.net>
package/network/utils/linux-atm/Makefile
package/network/utils/linux-atm/patches/000-debian_16.patch [deleted file]
package/network/utils/linux-atm/patches/000-debian_2.5.1-5.1.patch [new file with mode: 0644]
package/network/utils/linux-atm/patches/510-remove-LINUX_NETDEVICE-hack.patch
package/network/utils/linux-atm/patches/600-fix-format-errors.patch [deleted file]
package/network/utils/linux-atm/patches/600-musl-include.patch [new file with mode: 0644]
package/network/utils/linux-atm/patches/700-fix-gcc14-build.patch [new file with mode: 0644]
package/network/utils/linux-atm/patches/700-musl-include.patch [deleted file]
package/network/utils/linux-atm/patches/800-include_sockios.patch [deleted file]