crosstool-ng/packages/gettext
Dimitar Dimitrov 0c61535347 gettext: Fix cross build for mingw
Cherry-pick the following commit from gnulib:
  ctime, localtime, tzset, wcsftime: Fix env access (regr. 2024-02-09).
  https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=92cdf62b56462b914193c7770440e505a37c2526

This upstream patch fixes the following error:
  [ERROR]    .../.build/HOST-x86_64-w64-mingw32/pru-elf/src/gettext/gettext-tools/gnulib-lib/localtime.c:66:24: error: initialization of 'char *' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
  [ALL  ]       66 |         for (char *s = env; *s != NULL; s++)

Crosstool configuration:
  build:  x86_64-unknown-linux-gnu
  host:   x86_64-w64-mingw32
  target: pru-elf

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2024-06-13 15:28:26 +12:00
..
0.19.8.1 Add gettext 0.20.1 2019-10-01 21:22:22 -07:00
0.20.1 Pick up gettext patch for pthread_sigmask build on mingw32 2020-02-03 16:12:38 -08:00
0.21 gettext: Add gettext 0.21 2021-11-24 11:20:34 +13:00
0.22.5 gettext: Fix cross build for mingw 2024-06-13 15:28:26 +12:00
package.desc Restrict *-uclibc,* canadians to gettext 0.20 2022-02-11 00:47:51 -08:00