openwrt/package/libs/gettext-full/patches
Michael Pratt 0288415877
gettext-full: add missing link to libunistring
Running autoreconf or autogen.sh is causing
the gettext-runtime subdirectory to have a configure script
that looks for and attempts to link to an external libunistring.
However, the macros and symbols for supporting that configuration
are not present in this subdirectory yet.

This results in some host machines to not build the
included libunistring objects for libgrt,
but at the same time, also not input the proper flag to the linker
for linking to an external library when it is found or even when
explicitly setting configuration to use a prefix for libunistring,
resulting in the common linking failure "undefined reference".

Some similar (and old...) upstream commits do the same thing,
but only for gettext-tools and libgettextpo.

Ref: ae943bcc1 ("Link with libunistring, if it exists.") # gettext.git
Ref: 61e21a72f ("Avoid link error in programs that use libgettextpo.") # gettext.git
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-05-15 16:14:44 +02:00
..
000-relocatable.patch gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host 2017-01-19 00:05:10 +01:00
001-autotools.patch gettext-full: update to 0.21.1 2022-10-22 21:10:34 +02:00
100-libxml-no-force-included.patch gettext-full: link to local libxml2 2023-05-04 06:07:30 +02:00
200-libunistring-missing-link.patch gettext-full: add missing link to libunistring 2023-05-15 16:14:44 +02:00