git: 3c3bb655b431 - main - finance/gnucash: Fix build with gdk-pixbuf 2.44

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Mon, 22 Sep 2025 17:58:34 UTC
The branch main has been updated by madpilot:

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

commit 3c3bb655b431d2c59a8dabb28a2ad6cc3ebe5462
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-09-22 17:56:32 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-09-22 17:56:32 +0000

    finance/gnucash: Fix build with gdk-pixbuf 2.44
    
    Temporarily diasbling "-Werror" so the build can complete despite
    using deprecated functions.
---
 finance/gnucash/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index 75311756381e..ec42de0434e0 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -86,6 +86,9 @@ OFX_VARS=		GLIB_SCHEMAS+=org.gnucash.GnuCash.dialogs.import.ofx.gschema.xml
 PYTHON_CMAKE_BOOL=	WITH_PYTHON
 PYTHON_USES=		python
 
+post-patch:
+	@${REINPLACE_CMD} -e 's/-Werror //' ${WRKSRC}/CMakeLists.txt
+
 post-install-PYTHON-on:
 	@(cd ${STAGEDIR}${PREFIX} \
 		&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \