build fixes for gcc3.

gcc2 check from naddy@
This commit is contained in:
espie 2004-02-10 17:24:59 +00:00
parent 84d28d5582
commit 09c1a63b80
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-hfaxd_OldProtocol_c++,v 1.1 2004/02/10 17:24:59 espie Exp $
--- hfaxd/OldProtocol.c++.orig 2004-02-09 02:20:33.000000000 +0100
+++ hfaxd/OldProtocol.c++ 2004-02-09 02:20:46.000000000 +0100
@@ -752,9 +752,9 @@ OldProtocolServer::reallyRemoveJob(const
}
#define DEFINE_Op(op) \
-void OldProtocolServer::##op##Job(const char* tag) \
+void OldProtocolServer::op##Job(const char* tag) \
{ applyToJob(tag, fxQUOTE(op), &OldProtocolServer::do##op); }\
-void OldProtocolServer::##op##JobGroup(const char* tag) \
+void OldProtocolServer::op##JobGroup(const char* tag) \
{ applyToJobGroup(tag, fxQUOTE(op), &OldProtocolServer::do##op); }
void
OldProtocolServer::doremove(Job& job, const char*)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-util_Types_h,v 1.1 2004/02/10 17:24:59 espie Exp $
--- util/Types.h.orig 2004-02-09 02:11:40.000000000 +0100
+++ util/Types.h 2004-02-09 02:11:47.000000000 +0100
@@ -29,7 +29,7 @@
#include "string.h"
#include "assert.h"
#include "stdio.h"
-#include "new.h"
+#include "new"
#include "sys/types.h"
#include "port.h"