From 3a9510e28a069b5f6b5ff469d25b3f5b455917dd Mon Sep 17 00:00:00 2001 From: Matthew Hunt Date: Tue, 17 Sep 2002 16:56:48 +0000 Subject: Upgrade to 1.3.5. Add provision to circumvent the five minute "fudge factor" on snipe timers. Submitted by: Bruce Burden --- misc/bidwatcher/Makefile | 14 +++++++++----- misc/bidwatcher/distinfo | 2 +- misc/bidwatcher/files/patch-aa | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 misc/bidwatcher/files/patch-aa (limited to 'misc/bidwatcher') diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile index 9b37aad9208e..4f8c90845cff 100644 --- a/misc/bidwatcher/Makefile +++ b/misc/bidwatcher/Makefile @@ -6,19 +6,23 @@ # PORTNAME= bidwatcher -PORTVERSION= 1.3.4 -PORTREVISION= 1 +PORTVERSION= 1.3.5 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= bidwatcher-1.3.4-fix MAINTAINER= mph@FreeBSD.org -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - USE_GNOMENG= yes USE_GNOME= gtk12 GNU_CONFIGURE= YES +# The software includes a "fudge factor" for the snipe timer; by default +# it snipes 5 minutes (300 seconds) before the time that you tell it to. +# To change the "fudge factor" to a different value, set TIMEFUDGE to the +# desired number of seconds. + +TIMEFUDGE?= 300 +CFLAGS+= -DHAVE_TM_ZONE -DTIMEFUDGE=${TIMEFUDGE} + .include diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo index 34f01c60aada..c8dabfdf40e4 100644 --- a/misc/bidwatcher/distinfo +++ b/misc/bidwatcher/distinfo @@ -1 +1 @@ -MD5 (bidwatcher-1.3.4-fix.tar.gz) = 13534dfaa54d153559758b6fb05d7dd8 +MD5 (bidwatcher-1.3.5.tar.gz) = 91c05b1dc5c7a2304fb7e85bf131cf16 diff --git a/misc/bidwatcher/files/patch-aa b/misc/bidwatcher/files/patch-aa new file mode 100644 index 000000000000..848fd257a6cb --- /dev/null +++ b/misc/bidwatcher/files/patch-aa @@ -0,0 +1,16 @@ +--- bidwatcher.cpp.orig Tue Sep 17 09:42:59 2002 ++++ bidwatcher.cpp Tue Sep 17 09:44:43 2002 +@@ -4006,8 +4006,12 @@ + + // ebay is GMT+8hrs, but add a 5 minute fudge so that we bid + // early to be safe ++ ++ // In the era of accurate timekeeping, it's not clear that this is ++ // necessary, so we allow TIMEFUDGE to be set when building the ++ // FreeBSD port. -mph + +- timeDiff += 5*60; ++ timeDiff += TIMEFUDGE; + + showError("WARNING: Couldn't reach eBay, using local clock." + " Do not depend on times or sniping."); -- cgit v1.2.3