Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2023 13:28:47 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 448564a01913 - main - japanese/libskk: unbreak against clang15
Message-ID:  <202302191328.31JDSl79053653@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

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

commit 448564a0191387481e870ee2c2bfe5011b3a14cf
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-19 13:15:51 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-19 13:25:22 +0000

    japanese/libskk: unbreak against clang15
    
    file-dict.c:330:2: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gboolean' (aka 'int') [-Wint-conversion]
            g_return_val_if_fail (((gsize) (*offset)) < _tmp2_, NULL);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
 japanese/libskk/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/japanese/libskk/Makefile b/japanese/libskk/Makefile
index 5167a069b8ed..03323773ab02 100644
--- a/japanese/libskk/Makefile
+++ b/japanese/libskk/Makefile
@@ -24,6 +24,8 @@ INSTALL_TARGET=	install-strip
 
 PORTDOCS=	ChangeLog NEWS README
 
+CFLAGS+=	-Wno-error=int-conversion
+
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302191328.31JDSl79053653>