git: 75d51421837a - main - mail/geary: unbreak against clang 15

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sun, 19 Feb 2023 13:38:24 UTC
The branch main has been updated by tcberner:

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

commit 75d51421837a47247178645a971656fa2aa2bee5
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-19 13:35:12 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-19 13:38:13 +0000

    mail/geary: unbreak against clang 15
    
    src/engine/libgeary-engine.a.p/rfc822/rfc822-message.c:2100:12: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gboolean' (aka 'int') [-Wint-conversion]
                                    return NULL;
                                           ^~~~
---
 mail/geary/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mail/geary/Makefile b/mail/geary/Makefile
index 1a8e1c20d554..ece5fbe08531 100644
--- a/mail/geary/Makefile
+++ b/mail/geary/Makefile
@@ -50,4 +50,6 @@ SHEBANG_FILES=	desktop/geary-attach
 MESON_ARGS=	-Dprofile=release
 BINARY_ALIAS=	python3=${PYTHON_VERSION}
 
+CFLAGS+=	-Wno-error=int-conversion
+
 .include <bsd.port.mk>