git: 1e8c176a6a9c - main - security/snuffleupagus: build fix for main

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 25 Jun 2024 16:19:18 UTC
The branch main has been updated by fernape:

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

commit 1e8c176a6a9c55ad2d5419e2f7a1fe5bb38d3d15
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2024-06-24 08:59:45 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-06-25 16:19:06 +0000

    security/snuffleupagus: build fix for main
    
    ChangeLog: https://github.com/jvoisin/snuffleupagus/issues/494
    
    Main builds have failed for a while although 13 and 14 are fine. Eventually the
    issue was brought up with the author and a fix was created.
    
    PR:             279890
    Reported by:    franco@opnsense.org (maintainer)
---
 security/snuffleupagus/Makefile | 4 ++++
 security/snuffleupagus/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/security/snuffleupagus/Makefile b/security/snuffleupagus/Makefile
index 41a97bca5b56..ee2d4f9a2069 100644
--- a/security/snuffleupagus/Makefile
+++ b/security/snuffleupagus/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	snuffleupagus
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.10.0
+PORTREVISION=	1
 CATEGORIES=	security
 PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES=	b005df2.patch:-p2
+
 MAINTAINER=	franco@opnsense.org
 COMMENT=	Security module for PHP
 WWW=		https://snuffleupagus.readthedocs.io/
diff --git a/security/snuffleupagus/distinfo b/security/snuffleupagus/distinfo
index 86e3995f8250..7d3dcc86353e 100644
--- a/security/snuffleupagus/distinfo
+++ b/security/snuffleupagus/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1695274032
+TIMESTAMP = 1718686344
 SHA256 (jvoisin-snuffleupagus-v0.10.0_GH0.tar.gz) = 2b48dc38e208e793d3e694688d9ae9fc429e99a8df01133f6e0a4444036ba304
 SIZE (jvoisin-snuffleupagus-v0.10.0_GH0.tar.gz) = 11991358
+SHA256 (b005df2.patch) = ab46c73e787f339aa5c6cdb28d18efaaa9a272f64bcef8955bc32678388956bc
+SIZE (b005df2.patch) = 1300