summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-10-30 05:41:57 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-10-30 05:41:57 +0000
commit6a2d989bdc3bd177d1f66bf5dd91902913df9623 (patch)
tree77ef47d808f6998464f20ae32f5d1d3b6a2361f6
parentChange dependency on Test::Builder::Tester to devel/p5-Test-Simple. (diff)
Bidwatcher was using the FILE type without including <cstdio>.
Obtained from: NetBSD (via Bidwatcher submitted patches)
Notes
Notes: svn path=/head/; revision=146719
-rw-r--r--misc/bidwatcher/Makefile2
-rw-r--r--misc/bidwatcher/files/patch-bidwatcher.h15
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
index caaa1c76e15d..b0bc0b49413a 100644
--- a/misc/bidwatcher/Makefile
+++ b/misc/bidwatcher/Makefile
@@ -8,7 +8,7 @@
PORTNAME= bidwatcher
PORTVERSION= 1.3.17
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/misc/bidwatcher/files/patch-bidwatcher.h b/misc/bidwatcher/files/patch-bidwatcher.h
new file mode 100644
index 000000000000..af5141f651ff
--- /dev/null
+++ b/misc/bidwatcher/files/patch-bidwatcher.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.18 2005/02/27 10:40:04 rillig Exp $
+
+The header file uses the FILE type without including <cstdio>.
+This breaks (at least) on NetBSD-1.6.2.
+
+--- bidwatcher.h.orig Fri Feb 18 04:30:20 2005
++++ bidwatcher.h Sat Feb 26 14:15:23 2005
+@@ -29,6 +29,7 @@
+ #include "config.h"
+ #endif
+
++#include <cstdio>
+ #include <string>
+
+ using namespace std;