Opened 41 hours ago

Last modified 30 hours 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)

gettext-0.23-libxml2_2.12-1.patch (581 bytes ) - added by Marty Jack 38 hours ago.
Adjust for type signature change introduced in libxml2 2.12

Download all attachments as: .zip

Change History (5)

by Marty Jack, 38 hours ago

Adjust for type signature change introduced in libxml2 2.12

comment:1 by Marty Jack, 38 hours 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.

Last edited 37 hours ago by Marty Jack (previous) (diff)

in reply to:  1 comment:2 by Xi Ruoyao, 31 hours 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.

Last edited 31 hours ago by Xi Ruoyao (previous) (diff)

comment:4 by Marty Jack, 30 hours ago

Correct on the mismatch. Ideally gettext will re-release with their patch and everything is solved.

Note: See TracTickets for help on using tickets.