freebsd-ports/news/bgrab/files/patch-ab
Edwin Groothuis 73f16d567b Fix building of news/bgrab
PR:		ports/45970
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-12-15 03:34:55 +00:00

23 lines
477 B
Text

--- 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"
#include <strings.h>
-
-extern "C" {
-#include <rxposix.h>
-}
+#include <regex.h>
/* 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;