Summary: | app-text/crengine-ng-0.9.3 fails to compile (CLANG-STRICTER-SYSTEM): fonts.c:945:7: error: call to undeclared function strcasecmp; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | valexlin |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
0001-Compile-warnings-errors-fixed-strcasecmp-missing-pro.patch |
Description
Agostino Sarubbo
2022-12-31 10:05:05 UTC
Created attachment 846112 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: thirdparty/antiword/CMakeFiles/cre_antiword.dir/fonts.c.o FAILED: thirdparty/chmlib/CMakeFiles/cre_chmlib.dir/src/chm_lib.c.o /var/tmp/portage/app-text/crengine-ng-0.9.3/work/crengine-ng-0.9.3/thirdparty/antiword/fonts.c:945:7: error: call to undeclared function 'strcasecmp'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] Fixed in upstream https://gitlab.com/coolreader-ng/crengine-ng/-/commit/62106833d4e8af5325ed7a55c7a897e43a52bb20 Will be in the next version. Created attachment 846322 [details, diff]
0001-Compile-warnings-errors-fixed-strcasecmp-missing-pro.patch
Or apply this patch to current version.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09803522a2796b647f85a4aaa4e877792fefccf5 commit 09803522a2796b647f85a4aaa4e877792fefccf5 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2023-01-03 10:42:58 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2023-01-03 10:42:58 +0000 app-text/crengine-ng: compilation fixes Closes: https://bugs.gentoo.org/889078 Signed-off-by: Andrey Grozin <grozin@gentoo.org> app-text/crengine-ng/crengine-ng-0.9.4-r1.ebuild | 60 ++++++++++++++++++++++ app-text/crengine-ng/files/crengine-ng-0.9.4.patch | 55 ++++++++++++++++++++ 2 files changed, 115 insertions(+) |