Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 Dec 2002 17:53:34 +0100 (CET)
From:      Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        e0026813@stud3.tuwien.ac.at
Subject:   ports/45970: [FIX BENTO] news/bgrab on -current
Message-ID:  <20021203165334.B3B107A6@frog.fafoe>

next in thread | raw e-mail | index | archive | help

>Number:         45970
>Category:       ports
>Synopsis:       [FIX BENTO] news/bgrab on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 03 09:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Farfeleder
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD frog.fafoe 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Tue Nov 26 20:55:18 CET 2002 freebsd@frog.fafoe:/freebsd/current/obj/freebsd/current/src/sys/FROG i386


	
>Description:
Fix headers and return type of main.
	
>How-To-Repeat:
portinstall bgrab
	
>Fix:

	

--- bgrab.diff begins here ---
Index: files/patch-ab
===================================================================
RCS file: /usr/home/ncvs/ports/news/bgrab/files/patch-ab,v
retrieving revision 1.4
diff -u -r1.4 patch-ab
--- files/patch-ab	21 Jan 2001 03:45:01 -0000	1.4
+++ files/patch-ab	3 Dec 2002 16:42:27 -0000
@@ -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;
+ 
Index: files/patch-ad
===================================================================
RCS file: files/patch-ad
diff -N files/patch-ad
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-ad	3 Dec 2002 16:39:27 -0000
@@ -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:
--- bgrab.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021203165334.B3B107A6>