[packages] lftp: update to 4.3.6
[packages.git] / net / lftp / patches / 001-libintl.patch
1 --- a/lib/gettext.h
2 +++ b/lib/gettext.h
3 @@ -22,7 +22,6 @@
4  #if ENABLE_NLS
5  
6  /* Get declarations of GNU message catalog functions.  */
7 -# include <libintl.h>
8  
9  /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
10     the gettext() and ngettext() macros.  This is an alternative to calling
11 @@ -54,7 +53,6 @@
12  #if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
13  # include <cstdlib>
14  # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H
15 -#  include <libintl.h>
16  # endif
17  #endif
18