[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Compiling subversion trunk with httpd trunk code fails

From: vijay <vijay_at_collab.net>
Date: Tue, 01 Mar 2011 11:59:28 +0530

Hi,

I tried to compile subversion trunk with httpd trunk code. make fails
with the attached error.

Then I got that there is a macro APLOG_MARK which expands differently in
httpd-2.2.x and httpd-2.3-dev.

 From httpd-2.2.x,

#define APLOG_MARK __FILE__,__LINE__

 From httpd-2.3-dev,

#define APLOG_MARK __FILE__,__LINE__,APLOG_MODULE_INDEX

The method
"subversion/mod_authz_svn/mod_authz_svn.c:log_access_verdict()" is being
called with the argument APLOG_MARK in few places. As it is getting
expanded to three arguments in httpd-2.3-dev, but the orginal
implementation of log_access_verdict accepts only two arguments(file and
line), make fails with "error: too many arguments to function
‘log_access_verdict’".

Attaching the patch that works for httpd-trunk as well as older versions.

Thanks & Regards,
Vijayaguru

Received on 2011-03-01 07:30:17 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.