git: d0c81ea46a8d - main - devel/libgit2-glib: Fix build with devel/libgit2 1.8.1

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 18 Oct 2024 18:56:56 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d0c81ea46a8de95c2b963e8224318a6a879fb4c3

commit d0c81ea46a8de95c2b963e8224318a6a879fb4c3
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-10-18 14:28:15 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-10-18 18:56:41 +0000

    devel/libgit2-glib: Fix build with devel/libgit2 1.8.1
    
    PR:             280684
    Approved by:    maintainer timeout, >2 months
---
 devel/libgit2-glib/Makefile | 5 ++++-
 devel/libgit2-glib/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/devel/libgit2-glib/Makefile b/devel/libgit2-glib/Makefile
index d72a42f93d9a..839d17843c03 100644
--- a/devel/libgit2-glib/Makefile
+++ b/devel/libgit2-glib/Makefile
@@ -2,11 +2,14 @@
 
 PORTNAME=	libgit2-glib
 PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/libgit2-glib/-/commit/
+PATCHFILES=	a76fdf96c3a.patch:-p1 # https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/40
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Glib wrapper library around the libgit2 git access library
 WWW=		https://gitlab.gnome.org/GNOME/libgit2-glib
diff --git a/devel/libgit2-glib/distinfo b/devel/libgit2-glib/distinfo
index 74f643d891c9..a4da7ee394ae 100644
--- a/devel/libgit2-glib/distinfo
+++ b/devel/libgit2-glib/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1693730808
+TIMESTAMP = 1723211740
 SHA256 (gnome/libgit2-glib-1.2.0.tar.xz) = 1331dada838f4e1f591b26459d44126a325de762dc3cd26153a31afbdfe18190
 SIZE (gnome/libgit2-glib-1.2.0.tar.xz) = 140576
+SHA256 (gnome/a76fdf96c3a.patch) = fa59904152769bbfa5df5027d1be7590b8c894ab319d3514e4ac0c66b6031edd
+SIZE (gnome/a76fdf96c3a.patch) = 3860