wget2: fix build with gettext 0.25.0
This commit is contained in:
parent
391e07ae46
commit
30bf1e245d
25
pkgs/by-name/wg/wget2/gettext-0.25.patch
Normal file
25
pkgs/by-name/wg/wget2/gettext-0.25.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 7429f614..67b0bf0c 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -410,17 +410,11 @@ test "${ENABLE_XATTR}" = "yes" && AC_DEFINE([ENABLE_XATTR], 1,
|
||||||
|
#
|
||||||
|
# Gettext
|
||||||
|
#
|
||||||
|
-m4_ifdef([AM_GNU_GETTEXT], [
|
||||||
|
- AM_GNU_GETTEXT([external],[need-ngettext])
|
||||||
|
- AC_CONFIG_FILES([po/Makefile.in])
|
||||||
|
- have_po=yes
|
||||||
|
-], [
|
||||||
|
- have_po=no
|
||||||
|
-])
|
||||||
|
-m4_ifdef([AM_GNU_GETTEXT_VERSION], [
|
||||||
|
+AM_GNU_GETTEXT([external],[need-ngettext])
|
||||||
|
+AC_CONFIG_FILES([po/Makefile.in])
|
||||||
|
+have_po=yes
|
||||||
|
#do not indent here
|
||||||
|
AM_GNU_GETTEXT_VERSION([0.21])
|
||||||
|
-])
|
||||||
|
AM_CONDITIONAL([HAVE_PO], [ test "$have_po" = "yes" ])
|
||||||
|
|
||||||
|
#
|
||||||
@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-0tOoStZHr5opehFmuQdFRPYvOv8IMrDTBNFtoweY3VM=";
|
hash = "sha256-0tOoStZHr5opehFmuQdFRPYvOv8IMrDTBNFtoweY3VM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./gettext-0.25.patch
|
||||||
|
];
|
||||||
|
|
||||||
# wget2_noinstall contains forbidden reference to /build/
|
# wget2_noinstall contains forbidden reference to /build/
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/Makefile.am \
|
substituteInPlace src/Makefile.am \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user