summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 21:19:46 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 21:19:46 +0000
commit8515688e4fc1e61508e192542688b3ff53ea4ca8 (patch)
treed2d4ad86fb660f5fc1d74e8ef4b3232c9aad1046 /www/curl
parent3612c287b035cd52b87361b84833d892629cf955 (diff)
downloadpkgsrc-buildlink2.tar.gz
Merge changes in the main trunk into the buildlink2 branch for thosebuildlink2
packages that have been converted to USE_BUILDLINK2.
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/distinfo3
-rw-r--r--www/curl/patches/patch-ab20
2 files changed, 22 insertions, 1 deletions
diff --git a/www/curl/distinfo b/www/curl/distinfo
index 0a32816084c..eee1dcd48ac 100644
--- a/www/curl/distinfo
+++ b/www/curl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10.2.1 2002/06/23 19:03:40 jlam Exp $
+$NetBSD: distinfo,v 1.10.2.2 2002/08/25 21:22:20 jlam 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) = 7054f8d9f19fa2a9d7b816fd58ae08ef97bcbb1c
diff --git a/www/curl/patches/patch-ab b/www/curl/patches/patch-ab
new file mode 100644
index 00000000000..c137c2154d4
--- /dev/null
+++ b/www/curl/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.2.4.2 2002/08/25 21:22:22 jlam Exp $
+
+--- lib/ftp.c.orig Mon Apr 29 11:57:25 2002
++++ lib/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",