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
[SLikeNet] Update and fix building with x64-mingw-static #18358
Conversation
Please ping me if this PR is read for review @Pospelove. |
1605e13
to
8c886b1
Compare
|
@NancyLi1013 I think it's ready |
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.
Seems you rewrite portfile.cmake instead of only updating the changes based on the original file. Can you update this?
df344c2
to
cb7bd48
Compare
Use vcpkg.json instead of CONTROL Fix Run x-add-version Fix deprecation warning Update ports/slikenet/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
cb7bd48
to
35dbfe0
Compare
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Please |
LGTM, thanks for your updates and fixes. @Pospelove |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This PR makes
slikenet
port buildable with thex64-mingw-static
triplet. However there are some problems with merging it as I can see:The reason for patching code this way is pretty simple. As far as I know, MinGW doesn't have some essential functions support like
inet_pton
/inet_ntop
. Building SLikeNet requires them.TwoWayAuthentication.cpp
breaks compilation. Investigating. For now, I remove this file viaportfile.cmake
.I would really appreciate your feedback, especially options on how to workaround missing functions. My current idea is that we should add something like
vcpkg-platform-helper
as a port that would implement functions missing on some platforms.