-
Notifications
You must be signed in to change notification settings - Fork 47
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
Compatibility with libgit2 1.8+ #39
Conversation
Eagerly awaiting the fix myself: I can no longer compile and use DarkRadiant over this issue. I use Manjaro Linux which switched to libgit 1.8 recently, this seems to be the cause with DR requiring a fix to support the newer library. Thank you for the pull request and I hope it can be merged ASAP. |
@MirceaKitsune Use this recipe changing |
@es20490446e I got it working for now by looking at your PR: You just need to remove the word |
Fixed 👍 |
Why still checking the ligbit version though? That looks like it's doing the same thing regardless which version of the library it finds which is redundant. If that const was never needed to begin with, the solution compared to master looks like just removing the word |
Yeah, it doesn't make much sense to have two cases when you are just using the last libgit2 anyways. Fixed. |
Looks perfect now! Can confirm it works, hope this can be merged soon. |
Strange: Although this PR was merged and I updated and did a fully clean recompile, I still seem to get the same error. Was part of it missed or the issue added elsewhere since?
If I attempt to recompile it will compile the rest. However at the end it will fail with this error which looks like the old one:
|
Let me check, and I will come back. |
Fixes:
https://bugs.thedarkmod.com/view.php?id=6511