git: 6ec2c7eba388 - 2026Q4 - print/cups: Fix build with AVAHI option disabled

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Thu, 15 Oct 2026 11:30:13 UTC
The branch 2026Q4 has been updated by tijl:

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

commit 6ec2c7eba38897351796839f358f1dcfb768ff58
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-10-13 14:08:26 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-10-15 11:30:07 +0000

    print/cups: Fix build with AVAHI option disabled
    
    PR:             299342
    Reported by:    vvd
    
    (cherry picked from commit 3c361bc0461b5f269173c7998fc09ac6d435ed7c)
---
 print/cups/Makefile | 3 +++
 print/cups/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/print/cups/Makefile b/print/cups/Makefile
index 8fc8cb98bbd2..9fa79d7ea1db 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -4,6 +4,9 @@ CATEGORIES=	print
 MASTER_SITES=	https://github.com/OpenPrinting/${PORTNAME}/releases/download/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-source
 
+PATCH_SITES=	https://github.com/OpenPrinting/cups/commit/
+PATCHFILES=	23a183b63a4c94ae7cd0f36c63ee7eb905be60fd.patch:-p1
+
 MAINTAINER=	tijl@FreeBSD.org
 COMMENT=	Common UNIX Printing System
 WWW=		https://github.com/OpenPrinting/cups
diff --git a/print/cups/distinfo b/print/cups/distinfo
index 1b63ab91661a..e1d87549a820 100644
--- a/print/cups/distinfo
+++ b/print/cups/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1791879517
+TIMESTAMP = 1791899613
 SHA256 (cups-2.4.20-source.tar.gz) = ab4d9cd7f3e58060091d2b24972223d6401675f11c49b65abf4f6ef31dea22ff
 SIZE (cups-2.4.20-source.tar.gz) = 8164882
+SHA256 (23a183b63a4c94ae7cd0f36c63ee7eb905be60fd.patch) = 77d6a3f954abf3ec1777537ad22306d0c78844836fa648b0599bdbb962fcddb1
+SIZE (23a183b63a4c94ae7cd0f36c63ee7eb905be60fd.patch) = 923