A new upstream version is available: https://github.com/libgit2/libgit2/releases I see a failed build in koji. I'll see if I can fix it. Thanks, Ankur
We need to merge the changes from libxdiff spot(TC@RH) upstream, then libgit2 can be built correctly.
(In reply to Christopher Meng from comment #1) > We need to merge the changes from libxdiff spot(TC@RH) upstream, then > libgit2 can be built correctly. Ah. Yikes. Any links or upstream tickets where we can track this?
You can check some fragments at: https://github.com/libgit2/libgit2/issues/1658
Thanks Christopher, The current build error is because of this: /builddir/build/BUILD/libgit2-0.20.0/src/blame_git.c: In function 'diff_hunks': /builddir/build/BUILD/libgit2-0.20.0/src/blame_git.c:351:7: error: 'xdemitconf_t' has no member named 'emit_func' xecfg.emit_func = (void(*)(void))my_emit; ^ make[2]: *** [CMakeFiles/libgit2_clar.dir/src/blame_git.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Spot's version of xdiff indeed does not have emit_func. Either his xdiff will have to be patched to include it, or libgit2 will have to be patched not to use it. The latter will be preferred and is what spot is trying to get upstream to do. (unless spot missed out the function by mistake when merging the two xdiff versions , which is highly unlikely). Thanks, Warm regards, Ankur
libgit2 0.20 was built into Rawhide. http://koji.fedoraproject.org/koji/buildinfo?buildID=506869 Closing.