git: 9f8aa82d385a - main - devel/libvirt: fix build on 16-CURRENT

From: Roman Bogorodskiy <novel_at_FreeBSD.org>
Date: Tue, 03 Feb 2026 19:53:55 UTC
The branch main has been updated by novel:

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

commit 9f8aa82d385ab28af4add72a2eaa7f4664b64aa1
Author:     Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2026-02-03 17:22:33 +0000
Commit:     Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2026-02-03 19:52:20 +0000

    devel/libvirt: fix build on 16-CURRENT
    
    As of src commit ac5a19ec6989675c8ec6c3ca245dba243d1a6416 xdrproc_t
    accepts only two arguments. Address that change in libvirt.
    
    Reported by:    pkg-fallout
    Obtained from:  upstream
    Sponsored by:   The FreeBSD Foundation
---
 devel/libvirt/Makefile | 4 ++++
 devel/libvirt/distinfo | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index 850514670104..6e2f3a263770 100644
--- a/devel/libvirt/Makefile
+++ b/devel/libvirt/Makefile
@@ -4,6 +4,10 @@ CATEGORIES=	devel
 MASTER_SITES=	http://libvirt.org/sources/ \
 		ftp://libvirt.org/libvirt/
 
+PATCH_SITES=	https://gitlab.com/libvirt/libvirt/-/commit/
+PATCHFILES+=	2c66b6d72cd48d3cf80f957f55cfb1548feb46c4.patch:-p1 \
+		864a70114fe1dc6c6f58d099f0f1664737cf26e7.patch:-p1
+
 MAINTAINER=	novel@FreeBSD.org
 COMMENT=	Toolkit to interact with virtualization capabilities
 WWW=		https://libvirt.org/
diff --git a/devel/libvirt/distinfo b/devel/libvirt/distinfo
index 441ce7df1d25..4d16fb69e244 100644
--- a/devel/libvirt/distinfo
+++ b/devel/libvirt/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1768472200
+TIMESTAMP = 1770138713
 SHA256 (libvirt-12.0.0.tar.xz) = bf4e680019c04c45b557dd4a7ef59e952887f74e3c47044fe035a961fb624726
 SIZE (libvirt-12.0.0.tar.xz) = 10272864
+SHA256 (2c66b6d72cd48d3cf80f957f55cfb1548feb46c4.patch) = 256228d4ce6a11588563b9ed211713fd6640c6f62a1308103bd4f47f1629bf09
+SIZE (2c66b6d72cd48d3cf80f957f55cfb1548feb46c4.patch) = 4443
+SHA256 (864a70114fe1dc6c6f58d099f0f1664737cf26e7.patch) = d2245525588788b24748f43a00d9f961d65251ee907984c4fb5ac2fdd09f56b7
+SIZE (864a70114fe1dc6c6f58d099f0f1664737cf26e7.patch) = 1630