[Bug 282239] cad/horizon-eda: Prepare for libgit2 1.8.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Oct 2024 07:45:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282239

            Bug ID: 282239
           Summary: cad/horizon-eda: Prepare for libgit2 1.8.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: eduardo@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 254417
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254417&action=edit
Fix build with libgit2 1.8.2

Hello Yuri,

Upstream patch to fix build with upcoming libgit2 1.8.2.
My sugestion is to apply it now without bump portrevision as it only changes:

```diff
- #if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8)
+ #if (LIBGIT2_VER_MAJOR == 1) && (LIBGIT2_VER_MINOR == 8) &&
(LIBGIT2_VER_REVISION < 2)
```
reflecting libgit2 const backport from 1.8.2

See also: https://github.com/horizon-eda/horizon/issues/788

Cheers

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