Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-atm: fix build with GCC 14 #15474

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

rany2
Copy link
Contributor

@rany2 rany2 commented May 13, 2024

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".

@github-actions github-actions bot added the core packages pull request/issue for core (in-tree) packages label May 13, 2024
@dangowrt dangowrt requested a review from rsalvaterra May 15, 2024 15:12
@neheb
Copy link
Contributor

neheb commented May 18, 2024

Needs a PKG_RELEASE bump.

Also, run

make package/linux-atm/{clean,refresh}

@rany2 rany2 force-pushed the linux-atm-gcc14 branch 2 times, most recently from ae90ca2 to 904b06e Compare May 18, 2024 23:58
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>
@openwrt-bot openwrt-bot merged commit 3e02402 into openwrt:main May 23, 2024
3 checks passed
@hauke
Copy link
Member

hauke commented May 23, 2024

I removed the : from the filename of the debian patch.

@rany2 rany2 deleted the linux-atm-gcc14 branch May 23, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants