netcat: Fix build with gettext 0.20.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2019-12-31 19:27:03 -08:00
parent ded3a74af9
commit c12ae71c8d
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Fix build with gettext 0.20.x
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,7 @@ AC_SUBST(all_libraries)
dnl I18n support
ALL_LINGUAS="it sk"
AM_GNU_GETTEXT([external], need-ngettext)
-AM_INTL_SUBDIR
+#AM_INTL_SUBDIR
dnl find resolver functions and the socket library on some broken OS
AC_LBL_LIBRARY_NET

View File

@ -8,6 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
file://obsolete_autoconf_macros.patch \
file://netcat-locale_h.patch \
file://make-netcat_flag_count_work.patch \
file://gettext.patch \
"
SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"