Update lftp to 3.7.7 (#4413)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13854 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2009-01-04 12:13:28 +00:00
parent 75e14394b7
commit 1c48976ef1
3 changed files with 30 additions and 7 deletions

View File

@ -1,6 +1,6 @@
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
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

View File

@ -0,0 +1,23 @@
diff -burN lftp-3.7.7/lib/sys_time.in.h lftp-3.7.7.patched/lib/sys_time.in.h
--- lftp-3.7.7/lib/sys_time.in.h 2008-10-24 16:00:33.000000000 +0200
+++ lftp-3.7.7.patched/lib/sys_time.in.h 2009-01-03 21:20:34.129104049 +0100
@@ -39,6 +39,10 @@
# include <time.h>
# endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
# if ! @HAVE_STRUCT_TIMEVAL@
struct timeval
{
@@ -53,4 +57,8 @@
int gettimeofday (struct timeval *restrict, void *restrict);
# endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _GL_SYS_TIME_H */