summaryrefslogtreecommitdiff
path: root/misc/bidwatcher
diff options
context:
space:
mode:
authortron <tron>2003-04-06 11:48:25 +0000
committertron <tron>2003-04-06 11:48:25 +0000
commit0620db7ee3a36456c34c36c9ad27c756e1d45e31 (patch)
treec4eaa7b7839c480666872c4341ae9ebd31ed13ef /misc/bidwatcher
parent10afeee0a8a13e58dbcd342c5902d1a420fb9f2d (diff)
downloadpkgsrc-0620db7ee3a36456c34c36c9ad27c756e1d45e31.tar.gz
Back out timezone fix from revision 1. It doesn't work properly when
California an Central Europe are both on DST. Bump package revision again.
Diffstat (limited to 'misc/bidwatcher')
-rw-r--r--misc/bidwatcher/Makefile4
-rw-r--r--misc/bidwatcher/distinfo5
-rw-r--r--misc/bidwatcher/patches/patch-aa15
-rw-r--r--misc/bidwatcher/patches/patch-ac30
4 files changed, 5 insertions, 49 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
index 04dfdcc7dc6..8da5b32e239 100644
--- a/misc/bidwatcher/Makefile
+++ b/misc/bidwatcher/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2003/03/31 07:57:24 tron Exp $
+# $NetBSD: Makefile,v 1.23 2003/04/06 11:48:25 tron Exp $
DISTNAME= bidwatcher-1.3.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bidwatcher/}
diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo
index 0d0bd6c0826..ecdd3c1fae1 100644
--- a/misc/bidwatcher/distinfo
+++ b/misc/bidwatcher/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.20 2003/03/31 07:57:24 tron Exp $
+$NetBSD: distinfo,v 1.21 2003/04/06 11:48:25 tron Exp $
SHA1 (bidwatcher-1.3.7.tar.gz) = 92d30c14c7df96307fb99052f22661281c774dba
Size (bidwatcher-1.3.7.tar.gz) = 145540 bytes
-SHA1 (patch-aa) = 26d1411fe3aa8c46d1b9491c52ac4042c9a8ce43
+SHA1 (patch-aa) = 499a9a53cb555060ca8c53cffbd78eef569d722b
SHA1 (patch-ab) = 85052062bd165ba0ae3de05c887e3236c5ae7da7
-SHA1 (patch-ac) = 2c191475f27847e602ac24ed04f070bb8aa9768d
diff --git a/misc/bidwatcher/patches/patch-aa b/misc/bidwatcher/patches/patch-aa
index 1a5b62912b1..6b1e981a3c3 100644
--- a/misc/bidwatcher/patches/patch-aa
+++ b/misc/bidwatcher/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.15 2003/03/31 07:57:24 tron Exp $
+$NetBSD: patch-aa,v 1.16 2003/04/06 11:48:25 tron Exp $
--- bidwatcher.cpp.orig 2002-12-23 08:49:08.000000000 +0100
+++ bidwatcher.cpp 2003-03-31 09:53:56.000000000 +0200
@@ -11,16 +11,3 @@ $NetBSD: patch-aa,v 1.15 2003/03/31 07:57:24 tron Exp $
#endif
continue;
}
-@@ -4139,7 +4139,11 @@
- int local_timeDiff;
-
- #if defined(HAVE_GMTIME)
-- gmt_time = time_now - mktime(gmtime(&time_now));
-+ struct tm gmt_tm;
-+
-+ gmt_tm = *gmtime(&time_now);
-+ gmt_tm.tm_isdst = -1;
-+ gmt_time = time_now - mktime(&gmt_tm);
- #elif defined(HAVE_TM_ZONE)
- struct tm * timeStruct = localtime(&time_now);
- gmt_time = timeStruct->tm_gmtoff;
diff --git a/misc/bidwatcher/patches/patch-ac b/misc/bidwatcher/patches/patch-ac
deleted file mode 100644
index 196bc91be23..00000000000
--- a/misc/bidwatcher/patches/patch-ac
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2003/03/31 07:57:25 tron Exp $
-
---- helpers.cpp.orig 2002-12-21 09:00:42.000000000 +0100
-+++ helpers.cpp 2003-03-31 09:47:10.000000000 +0200
-@@ -1347,7 +1347,6 @@
- std::istrstream streamBuff(buffer);
- #endif
- struct tm ebay_time;
-- ebay_time.tm_isdst = 0;
- while(streamBuff) {
- streamBuff.getline(lineBuff, 1024, '\n');
- /*
-@@ -1380,9 +1379,6 @@
- if (scratch) strcpy(chMin, scratch);
- scratch = strtok(0, " ");
- if (scratch) strcpy(chSec, scratch);
-- scratch = strtok(0, "<");
-- if (scratch && strcmp( scratch, "PDT" ) == 0 )
-- ebay_time.tm_isdst = 1;
- break;
- }
- }
-@@ -1406,6 +1402,7 @@
- else if (strcmp("Nov", chMonth) == 0) ebay_time.tm_mon = 10;
- else ebay_time.tm_mon = 11;
- ebay_time.tm_year = atoi(chYear) - 1900;
-+ ebay_time.tm_isdst = -1;
-
- time_t theTime = mktime(&ebay_time) - new_time_t;
-