libhsts: fix build with gettext 0.25.0

+24
+20
pkgs/by-name/li/libhsts/gettext-0.25.patch
···
··· 1 + diff --git a/configure.ac b/configure.ac 2 + index 4d443c1..42c3568 100644 3 + --- a/configure.ac 4 + +++ b/configure.ac 5 + @@ -31,13 +31,8 @@ AC_CONFIG_FILES([include/libhsts.h]) 6 + # 7 + # Gettext 8 + # 9 + -m4_ifdef([AM_GNU_GETTEXT], [ 10 + - AM_GNU_GETTEXT([external],[need-ngettext]) 11 + -]) 12 + -m4_ifdef([AM_GNU_GETTEXT_VERSION], [ 13 + -#do not indent here 14 + -AM_GNU_GETTEXT_VERSION([0.18.2]) 15 + -]) 16 + +AM_GNU_GETTEXT([external],[need-ngettext]) 17 + +AM_GNU_GETTEXT_VERSION([0.19.8]) 18 + 19 + # 20 + # check for doxygen and pandoc
+4
pkgs/by-name/li/libhsts/package.nix
··· 28 sha256 = "0gbchzf0f4xzb6zjc56dk74hqrmdgyirmgxvvsqp9vqn9wb5kkx4"; 29 }; 30 31 postPatch = '' 32 pushd tests 33 cp ${hsts_list} transport_security_state_static.json
··· 28 sha256 = "0gbchzf0f4xzb6zjc56dk74hqrmdgyirmgxvvsqp9vqn9wb5kkx4"; 29 }; 30 31 + patches = [ 32 + ./gettext-0.25.patch 33 + ]; 34 + 35 postPatch = '' 36 pushd tests 37 cp ${hsts_list} transport_security_state_static.json