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 @@ -1,38 +1,41 @@ # Also update devel/libgit2, devel/rubygem-rugged, devel/py-pygit2 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 LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgit2.so:devel/libgit2 USES= compiler:c11 gnome localbase \ meson pkgconfig python:build tar:xz vala:build USE_GNOME= glib20 introspection USE_LDCONFIG= yes MESON_ARGS= -Dpython=false BINARY_ALIAS= python3=${PYTHON_VERSION} # XXX: meson_vapi_link.py does not respect STAGEDIR for some reason and silently # fails when building as user and touches the external fs when building as root. # Neutralize it. We replicate what it does in post-install. post-patch: @${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/meson_vapi_link.py post-install: ${RLN} ${STAGEDIR}${PREFIX}/share/vala/vapi/libgit2-glib-1.0.deps \ ${STAGEDIR}${PREFIX}/share/vala/vapi/ggit-1.0.deps ${RLN} ${STAGEDIR}${PREFIX}/share/vala/vapi/libgit2-glib-1.0.vapi \ ${STAGEDIR}${PREFIX}/share/vala/vapi/ggit-1.0.vapi .include 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