git: 66b926179025 - main - x11/xloadimage: Fix build with LLVM15

From: Alex Kozlov <ak_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 17:27:45 UTC
The branch main has been updated by ak:

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

commit 66b9261790254af101f7aab1ea58dc66f427d6e1
Author:     Alex Kozlov <ak@FreeBSD.org>
AuthorDate: 2023-02-11 17:27:18 +0000
Commit:     Alex Kozlov <ak@FreeBSD.org>
CommitDate: 2023-02-11 17:27:18 +0000

    x11/xloadimage: Fix build with LLVM15
---
 x11/xloadimage/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11/xloadimage/Makefile b/x11/xloadimage/Makefile
index 980ad766d7f2..980872e54945 100644
--- a/x11/xloadimage/Makefile
+++ b/x11/xloadimage/Makefile
@@ -29,6 +29,8 @@ USES=		jpeg xorg
 USE_XORG=	x11
 GNU_CONFIGURE=	yes
 
+# Temporary fix, waiting for k&r cleanup patch from debian
+CFLAGS+=	-Wno-int-conversion
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib