weechat-unwrapped: patch for perl 5.38 locale issues

This commit is contained in:
arcnmx 2023-08-21 12:07:09 -07:00
parent 24a6b33776
commit b4bf3a54f2

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, lib
{ stdenv, fetchurl, fetchpatch, lib
, ncurses, openssl, aspell, gnutls, gettext
, zlib, curl, pkg-config, libgcrypt
, cmake, libobjc, libresolv, libiconv
@ -46,6 +46,13 @@ let
hash = "sha256-iA29zo5zs/SAKggsShp8YZQ9vFhn16lWleTkY8ZTWpI=";
};
patches = lib.optional (perlSupport && lib.versionAtLeast perl.version "5.38") (fetchpatch {
name = "perl538-locale.patch";
url = "https://github.com/weechat/weechat/commit/c5eb982424150894959b978d98dcf6a005eb6c9f.patch";
excludes = [ "ChangeLog.adoc" ];
sha256 = "sha256-SSDZy4/c12LOxjvFMuJSv6gJEX298wF62/gQLQ/geiU=";
});
outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
cmakeFlags = with lib; [