aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>2002-09-18 00:56:48 +0800
committermph <mph@FreeBSD.org>2002-09-18 00:56:48 +0800
commit6f47ec78f8ee3b40e05fbdc94f0964e31e870b03 (patch)
tree1477a0edc3d266cdcdcb0ac28c1ec7b457ab0a55 /misc
parentb85af296f5b5ae1de5141fb44944c052d8c1d22c (diff)
downloadfreebsd-ports-gnome-6f47ec78f8ee3b40e05fbdc94f0964e31e870b03.tar.gz
freebsd-ports-gnome-6f47ec78f8ee3b40e05fbdc94f0964e31e870b03.tar.zst
freebsd-ports-gnome-6f47ec78f8ee3b40e05fbdc94f0964e31e870b03.zip
Upgrade to 1.3.5.
Add provision to circumvent the five minute "fudge factor" on snipe timers. Submitted by: Bruce Burden <brucegb@realtime.net>
Diffstat (limited to 'misc')
-rw-r--r--misc/bidwatcher/Makefile14
-rw-r--r--misc/bidwatcher/distinfo2
-rw-r--r--misc/bidwatcher/files/patch-aa16
3 files changed, 26 insertions, 6 deletions
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 <bsd.port.mk>
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.");