packages/net/lftp/patches/001-libintl.patch
florian 1c48976ef1 Update lftp to 3.7.7 (#4413)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:13:28 +00:00

20 lines
677 B
Diff

diff -burN lftp-3.7.7/lib/gettext.h lftp-3.7.7.patched/lib/gettext.h
--- lftp-3.7.7/lib/gettext.h 2008-05-16 18:28:43.000000000 +0200
+++ lftp-3.7.7.patched/lib/gettext.h 2009-01-03 18:59:05.374184151 +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