[Bug 273650] devel/libgit2: Fix build on 14-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Sep 2023 23:01:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273650

            Bug ID: 273650
           Summary: devel/libgit2: Fix build on 14-STABLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: freebsd@chillt.de
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Created attachment 244724
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244724&action=edit
Updated patch to drop into devel/libgit2/files

The port fails to build on 14-STABLE due to a change in the definition of
qsort_r(). This was fixed as PR 271234 in May 2023 and has now regressed. The
fix was merged upstream [1] and added to the ports collection as a patch for
libgit2 1.5.2. This patch was deleted during the update to libgit 1.6.4.
However, the fix was never merged into the maint/v1.6 branch upstream and the
patch is still needed. Attached is an updated copy of the patch that applies
cleanly to libgit 1.6.4.

[1] https://github.com/libgit2/libgit2/pull/6555 and
https://github.com/libgit2/libgit2/pull/6558

-- 
You are receiving this mail because:
You are the assignee for the bug.