Opened 2 days ago
Last modified 2 days ago
#5603 new enhancement
gettext-0.23
Reported by: | Bruce Dubbs | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
New minor version.
Attachments (1)
Change History (5)
by , 2 days ago
Attachment: | gettext-0.23-libxml2_2.12-1.patch added |
---|
follow-up: 2 comment:1 by , 2 days ago
A const added to the type signature of xmlSetStructuredErrorFunc introduced back in libxml2 2.12 breaks usages in its.c
Wouldn't affect LFS because libxml2 is not installed then but might affect someone who is reinstalling after completing their system.
comment:2 by , 2 days ago
Replying to Marty Jack:
A const added to the type signature of xmlSetStructuredErrorFunc introduced back in libxml2 2.12 breaks usages in its.c
Wouldn't affect LFS because libxml2 is not installed then but might affect someone who is reinstalling after completing their system.
Just: sed '/^structured_error/s/xmlError/const &/' -i gettext-tools/src/its.c
I don't think it simply "wouldn't affect LFS." IIUC if you apply it for LFS, it'll cause a FTBFS because it will introduce a mismatch between the bundled libxml2 copy and the code. I.e. it should only be applied if libxml2 >= 2.12 is installed on the system.
comment:3 by , 2 days ago
A patch robust to different libxml2 version is available at https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=patch;h=adfbe2ee7cd9b47a0465aa9a07d773fa290f46c1.
comment:4 by , 2 days ago
Correct on the mismatch. Ideally gettext will re-release with their patch and everything is solved.
Adjust for type signature change introduced in libxml2 2.12