diff options
author | mycroft <mycroft@pkgsrc.org> | 2002-07-19 04:23:48 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2002-07-19 04:23:48 +0000 |
commit | 2e64fe73f44b2e68937dcb5a16051a1ca77e7807 (patch) | |
tree | 69d34a3993c9e27594d9b53617e79480560733bf /www/curl | |
parent | 2f4d75c04a485e74671d16b34a21f1b4275a1313 (diff) | |
download | pkgsrc-2e64fe73f44b2e68937dcb5a16051a1ca77e7807.tar.gz |
Fix LP64 botch.
Diffstat (limited to 'www/curl')
-rw-r--r-- | www/curl/distinfo | 3 | ||||
-rw-r--r-- | www/curl/patches/patch-ab | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/www/curl/distinfo b/www/curl/distinfo index 052faa3d760..4d10a1ae7c8 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.12 2002/06/11 12:35:13 agc Exp $ +$NetBSD: distinfo,v 1.13 2002/07/19 04:23:48 mycroft Exp $ SHA1 (curl-7.9.7.tar.gz) = 6fcb23be788984bcfca7debe5f307ec65fb56101 Size (curl-7.9.7.tar.gz) = 717489 bytes SHA1 (patch-aa) = 5990fe1f4d583847751549f2e647f23b2bbbbe96 +SHA1 (patch-ab) = 196289d28e482174be9432ddca4e97d09b65d6ca diff --git a/www/curl/patches/patch-ab b/www/curl/patches/patch-ab new file mode 100644 index 00000000000..514ffb2a7e1 --- /dev/null +++ b/www/curl/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 2002/07/19 04:23:48 mycroft Exp $ + +--- ftp.c.orig Mon Apr 29 11:57:25 2002 ++++ ftp.c Fri Jul 19 04:22:35 2002 +@@ -1576,12 +1576,13 @@ + + #ifdef HAVE_STRFTIME + if(data->set.get_filetime && data->info.filetime) { ++ time_t filetime = data->info.filetime; + struct tm *tm; + #ifdef HAVE_LOCALTIME_R + struct tm buffer; +- tm = (struct tm *)localtime_r(&data->info.filetime, &buffer); ++ tm = (struct tm *)localtime_r(&filetime, &buffer); + #else +- tm = localtime((unsigned long *)&data->info.filetime); ++ tm = localtime(&filetime); + #endif + /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ + strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S %Z\r\n", |