packages/net/lftp/patches/001-libintl.patch

20 lines
669 B
Diff
Raw Normal View History

diff -burN lftp-3.7.4.org/lib/gettext.h lftp-3.7.4/lib/gettext.h
--- lftp-3.7.4.org/lib/gettext.h 2008-05-18 07:58:27.000000000 +0200
+++ lftp-3.7.4/lib/gettext.h 2008-11-05 16:03:37.769820993 +0100
@@ -22,7 +22,6 @@
#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
-# include <libintl.h>
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
the gettext() and ngettext() macros. This is an alternative to calling
@@ -54,7 +53,6 @@
#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
# include <cstdlib>
# if (__GLIBC__ >= 2) || _GLIBCXX_HAVE_LIBINTL_H
-# include <libintl.h>
# endif
#endif