Summary: | dev-tcltk/tdom-0.9.2 fails to compile (CLANG-STRICTER-SYSTEM): tdomStubInit.c:33:5: error: incompatible function pointer types initializing SchemaData ()(void) (aka struct SchemaData_ ()(void)) with an expression of type SchemaData (Tcl_Interp ) (aka str | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | TCL/TK Project <tcltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
Fixed tdom-0.9.2-nothreads.patch |
Description
Agostino Sarubbo
2022-12-05 07:57:36 UTC
Created attachment 840193 [details]
build.log
build log and emerge --info
Created attachment 846284 [details, diff]
Fixed tdom-0.9.2-nothreads.patch
This is due to tdom-0.9.2-no-threads.patch changing tdomGetSchemadata's prototype only at the top of the header, but not on the following struct. I'm proposing a revision that makes the changes in both places.
By the way, tdom 0.9.3 won't need this patch, and is not affected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5a5b96e8920196238a55b8c39e5f31adfc88a6 commit fe5a5b96e8920196238a55b8c39e5f31adfc88a6 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2023-01-18 19:40:40 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2023-01-18 19:40:40 +0000 dev-tcltk/tdom: clang6 Closes: https://bugs.gentoo.org/884415 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch | 11 +++++++++++ dev-tcltk/tdom/{tdom-0.9.2.ebuild => tdom-0.9.2-r1.ebuild} | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42267f3f7730c31ad246d7ea62357fe1a240bff3 commit 42267f3f7730c31ad246d7ea62357fe1a240bff3 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2023-01-19 07:07:01 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2023-01-19 07:07:20 +0000 dev-tcltk/tdom: add 0.9.3 Bug: https://bugs.gentoo.org/884415 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-tcltk/tdom/Manifest | 1 + dev-tcltk/tdom/tdom-0.9.3.ebuild | 79 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) |