libhsts: fix build with gettext 0.25.0
This commit is contained in:
parent
04cc8be59e
commit
b260cd9e7c
20
pkgs/by-name/li/libhsts/gettext-0.25.patch
Normal file
20
pkgs/by-name/li/libhsts/gettext-0.25.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4d443c1..42c3568 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -31,13 +31,8 @@ AC_CONFIG_FILES([include/libhsts.h])
|
||||
#
|
||||
# Gettext
|
||||
#
|
||||
-m4_ifdef([AM_GNU_GETTEXT], [
|
||||
- AM_GNU_GETTEXT([external],[need-ngettext])
|
||||
-])
|
||||
-m4_ifdef([AM_GNU_GETTEXT_VERSION], [
|
||||
-#do not indent here
|
||||
-AM_GNU_GETTEXT_VERSION([0.18.2])
|
||||
-])
|
||||
+AM_GNU_GETTEXT([external],[need-ngettext])
|
||||
+AM_GNU_GETTEXT_VERSION([0.19.8])
|
||||
|
||||
#
|
||||
# check for doxygen and pandoc
|
||||
@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0gbchzf0f4xzb6zjc56dk74hqrmdgyirmgxvvsqp9vqn9wb5kkx4";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./gettext-0.25.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
pushd tests
|
||||
cp ${hsts_list} transport_security_state_static.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user