git: abf9862fa9c9 - main - graphics/epsonscan2: Fix build on FreeBSD 15

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 13:00:51 UTC
The branch main has been updated by vvd:

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

commit abf9862fa9c98bd68956aa9573d97399ae5e0f7d
Author:     J.R. Oldroyd <fbsd@opal.com>
AuthorDate: 2025-01-22 12:59:16 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-01-22 12:59:16 +0000

    graphics/epsonscan2: Fix build on FreeBSD 15
    
    PR:     284127
---
 graphics/epsonscan2/Makefile                                  |  2 +-
 .../files/patch-src_ES2Command_Src_Utils_ESAccessor.h         | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/graphics/epsonscan2/Makefile b/graphics/epsonscan2/Makefile
index 140afc91b8df..24c96cbfcf9f 100644
--- a/graphics/epsonscan2/Makefile
+++ b/graphics/epsonscan2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	epsonscan2
 DISTVERSION=	6.6.40.0
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	graphics
 MASTER_SITES=	https://support.epson.net/linux/src/scanner/epsonscan2/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-1.src
diff --git a/graphics/epsonscan2/files/patch-src_ES2Command_Src_Utils_ESAccessor.h b/graphics/epsonscan2/files/patch-src_ES2Command_Src_Utils_ESAccessor.h
new file mode 100644
index 000000000000..cac14405aa0a
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ES2Command_Src_Utils_ESAccessor.h
@@ -0,0 +1,11 @@
+--- src/ES2Command/Src/Utils/ESAccessor.h.orig	2021-11-25 00:56:55 UTC
++++ src/ES2Command/Src/Utils/ESAccessor.h
+@@ -177,7 +177,7 @@ class CESAccessor{ (protected)
+   {
+   }
+   CSetterFunc(const CSetterFunc& rhs)
+-   : m_func(rhs.func)
++   : m_func(rhs.m_func)
+   {
+   }
+   virtual ISetterFunc* Clone()