summaryrefslogtreecommitdiff
path: root/news/bgrab
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-12-15 03:34:55 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-12-15 03:34:55 +0000
commit73f16d567b87bad6fb3dac775cc0400deb105237 (patch)
tree4bf434d827156e57b8675d4839011a8f46329dbd /news/bgrab
parentMake textproc/isearch compile on -current again. (diff)
Fix building of news/bgrab
PR: ports/45970 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Notes
Notes: svn path=/head/; revision=71648
Diffstat (limited to 'news/bgrab')
-rw-r--r--news/bgrab/files/patch-ab13
-rw-r--r--news/bgrab/files/patch-ad14
2 files changed, 25 insertions, 2 deletions
diff --git a/news/bgrab/files/patch-ab b/news/bgrab/files/patch-ab
index ea98554a5657..d84bcee3a7e8 100644
--- a/news/bgrab/files/patch-ab
+++ b/news/bgrab/files/patch-ab
@@ -1,5 +1,5 @@
---- main.cc.orig Sat Jan 20 20:04:03 2001
-+++ main.cc Sat Jan 20 20:04:19 2001
+--- main.cc.orig Tue Dec 3 17:41:32 2002
++++ main.cc Tue Dec 3 17:41:38 2002
@@ -16,10 +16,7 @@
#include "screen.h"
#include "MessageIdStore.h"
@@ -12,3 +12,12 @@
/* Prototype for signal handler */
void cleanUp(int);
+@@ -529,7 +526,7 @@
+ } else if (want_fork) usage_error(argv[0]);
+ }
+
+-void main(int argc, char **argv) {
++int main(int argc, char **argv) {
+ char tmpstring[256];
+ int regError;
+
diff --git a/news/bgrab/files/patch-ad b/news/bgrab/files/patch-ad
new file mode 100644
index 000000000000..0a8250d731ae
--- /dev/null
+++ b/news/bgrab/files/patch-ad
@@ -0,0 +1,14 @@
+--- MessageIdStore.h.orig Tue Dec 3 17:35:18 2002
++++ MessageIdStore.h Tue Dec 3 17:37:00 2002
+@@ -1,7 +1,10 @@
+ #include <iostream.h>
+-#include <stl.h>
++#include <set>
+ #include <string>
++#include <utility>
+ #include "common.h"
++
++using namespace std;
+
+ class MessageIdStore {
+ public: