git: 448564a01913 - main - japanese/libskk: unbreak against clang15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 13:28:47 UTC
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