Skip to content

Commit d6628cf

Browse files
committed
gettext: 0.21 -> 0.21.1
Unfortunately, there’s no release announcement for this release. From the [NEWS][1]. > Version 0.21.1 - October 2022 > > * Runtime behaviour: > - On AIX, locale names with a script or with an uppercase language are now > supported. > For example, sr_Cyrl_RS.UTF-8 is treated like sr_RS.UTF-8@cyrillic, and > EN_US.UTF-8 is treated like en_US.UTF-8. > > * The base Unicode standard is now updated to 14.0.0. > > * Portability: > - Building on macOS 11/arm64 is now supported. > - Building on Linux/powerpc64le with glibc ≥ 2.35 is now supported. The vendored gnulib was also updated, which indirectly fixes a build failure with clang 16. The version in 0.20 fails to build because it attempts to assign an incompatible function pointer that should have but does not have `__attribute__((noreturn))`. On clang 16, this is an error by default. [1]: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob_plain;f=NEWS;hb=8b38ee827251cadbb90cb6cb576ae98702566288
1 parent 7ff7700 commit d6628cf

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

pkgs/development/libraries/gettext/default.nix

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
stdenv.mkDerivation rec {
1111
pname = "gettext";
12-
version = "0.21";
12+
version = "0.21.1";
1313

1414
src = fetchurl {
1515
url = "mirror://gnu/gettext/${pname}-${version}.tar.gz";
16-
sha256 = "04kbg1sx0ncfrsbr85ggjslqkzzb243fcw9nyh3rrv1a22ihszf7";
16+
sha256 = "sha256-6MNlDh2M7odcTzVWQjgsHfgwWL1aEe6FVcDPJ21kbUU=";
1717
};
1818
patches = [
1919
./absolute-paths.diff
@@ -47,14 +47,6 @@ stdenv.mkDerivation rec {
4747
'' + lib.optionalString stdenv.hostPlatform.isCygwin ''
4848
sed -i -e "s/\(cldr_plurals_LDADD = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
4949
sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
50-
'' +
51-
# This change to gettext's vendored copy of gnulib is already
52-
# merged upstream; we can drop this patch on the next version
53-
# bump. It must be applied twice because gettext vendors gnulib
54-
# not once, but twice!
55-
''
56-
patch -p2 -d gettext-tools/gnulib-lib/ < ${gnulib.passthru.longdouble-redirect-patch}
57-
patch -p2 -d gettext-tools/libgrep/ < ${gnulib.passthru.longdouble-redirect-patch}
5850
'';
5951

6052
strictDeps = true;

0 commit comments

Comments
 (0)