-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
pkgsMusl.nginx: fix build #313836
pkgsMusl.nginx: fix build #313836
Conversation
Fixes: > error: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Werror=cpp]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should strongly consider just ditching these compatibility headers and fixing stuff properly upstream, because I have a feeling they cause more build failures (like this one) than they prevent.
But let's worry about that after #229439.
@ofborg build nginx pkgsMusl.nginx |
I think a very similar fix was already proposed half a year back in #263147 which was not accepted. Glad to see that we choose a churn friendly solution 😄 |
Hi Sandro, |
I don't think he meant to criticize your approach, but instead was a bit disgruntled that his pull request was rejected. I would have probably fixed it in the same way. |
Same, same for me. I totally didn't want to critique you and just say that I had the basically the same mindset a while ago and agree with the sentiment in this thread and that I am glad that I am not alone with this opinion. |
@SuperSandro2000 can you elaborate please? Seems like the PR was closed by the original author and it was your suggestion in review that got rejected. |
I think the original author and me had the same idea, to make musl maintenance easy and reduce churn with every update and compiler change but it got declined by the maintainer for reasons I do not follow. But everything alright, I don't think we need to change anything here codewise. |
pkgsMusl.nginx: fix build
Fixes:
CC Musl: @yu-re-ka @alyssais @ulrikstrid
CC Nginx: @fpletz @RaitoBezarius @helsinki-systems