openbsd-ports/comms/hylafax/patches/patch-hfaxd_OldProtocol_c++
espie 09c1a63b80 build fixes for gcc3.
gcc2 check from naddy@
2004-02-10 17:24:59 +00:00

16 lines
725 B
Plaintext

$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*)