Ticket #638: wget-1.14.diff
| File wget-1.14.diff, 1.7 KB (added by barrett, 3 years ago) |
|---|
-
net-misc/wget/patches/wget-1.13.4.patch
1 1 diff -urN wget-1.13.4/src/http.c wget-1.13.4-haiku/src/http.c 2 --- wget-1.13.4/src/http.c 2011-09-07 03:58:01.006291456 -07003 +++ wget-1.13.4-haiku/src/http.c 2012-0 3-17 12:20:29.000000000 -07002 --- wget-1.13.4/src/http.c 2011-09-07 12:58:01.010747904 +0200 3 +++ wget-1.13.4-haiku/src/http.c 2012-05-13 23:02:53.000000000 +0200 4 4 @@ -1046,6 +1046,7 @@ 5 5 char separator) 6 6 { … … 19 19 { 20 20 modify_param_value(value, param_type); 21 21 diff -urN wget-1.13.4/src/main.c wget-1.13.4-haiku/src/main.c 22 --- wget-1.13.4/src/main.c 2011-09-06 06:50:11.004456448 -070023 +++ wget-1.13.4-haiku/src/main.c 2012-0 3-17 12:23:37.000000000 -070022 --- wget-1.13.4/src/main.c 2011-09-06 15:50:11.008650752 +0200 23 +++ wget-1.13.4-haiku/src/main.c 2012-05-13 23:02:53.000000000 +0200 24 24 @@ -913,14 +913,16 @@ 25 25 int i, ret, longindex; 26 26 int nurl; … … 69 69 logprintf (LOG_NOTQUIET, 70 70 _("FINISHED --%s--\nTotal wall clock time: %s\n" 71 71 "Downloaded: %d files, %s in %s (%s)\n"), 72 diff -urN wget-1.13.4/src/utils.c wget-1.13.4-haiku/src/utils.c 73 --- wget-1.13.4/src/utils.c 2011-08-29 10:01:24.006029312 +0200 74 +++ wget-1.13.4-haiku/src/utils.c 2012-05-10 17:26:14.000000000 +0200 75 @@ -63,7 +63,9 @@ 76 77 /* For TIOCGWINSZ and friends: */ 78 #ifdef HAVE_SYS_IOCTL_H 79 -# include <sys/ioctl.h> 80 +# ifndef __HAIKU__ 81 +# include <sys/ioctl.h> 82 +# endif 83 #endif 84 #ifdef HAVE_TERMIOS_H 85 # include <termios.h>
