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

Patch to Subversion 1.1.0-rc4

From: Claudio Neves <neva_at_nevalabs.org>
Date: 2004-09-27 20:21:30 CEST

Hello,

When trying to build subversion 1.1.0-rc4, I've got the following errors:

/bin/sh /var/files/misc/1/subversion-1.1.0-rc4/libtool --silent
--mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -g -O2 -pthread
-DNEON_ZLIB -I/usr/local/apache_2.0.51/include -I./subversion/include
-I./subversion -I/var/files/misc/1/subversion-1.1.0-rc4/neon/src
-I/usr/local/include/neon -I/usr/local/apache_2.0.51/include
-I/usr/local/apache_2.0.51/include -o
subversion/mod_dav_svn/file_revs.lo -c
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:
In function `dav_svn__file_revs_report':
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:225:
parse error before `start'
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:248:
`start' undeclared (first use in this function)
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:248:
(Each undeclared identifier is reported only once
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:248:
for each function it appears in.)
/var/files/misc/1/subversion-1.1.0-rc4/subversion/mod_dav_svn/file_revs.c:250:
`end' undeclared (first use in this function)
make: *** [subversion/mod_dav_svn/file_revs.lo] Error 1

Configure line used:

./configure --with-apr=/usr/local/apache_2.0.51 \
--with-apr-util=/usr/local/apache_2.0.51 \
--with-apxs=/usr/local/apache_2.0.51/bin/apxs \
--with-zlib

A patch to fix the problem is attached.

Thanks,
Claudio Neves

--- subversion/mod_dav_svn/file_revs.c.orig Wed Sep 22 18:17:35 2004
+++ subversion/mod_dav_svn/file_revs.c Mon Sep 27 15:06:54 2004
@@ -217,14 +217,14 @@
   dav_svn_authz_read_baton arb;
   const char *path = NULL;
   
- /* Construct the authz read check baton. */
- arb.r = resource->info->r;
- arb.repos = resource->info->repos;
-
   /* These get determined from the request document. */
   svn_revnum_t start = SVN_INVALID_REVNUM;
   svn_revnum_t end = SVN_INVALID_REVNUM;
 
+ /* Construct the authz read check baton. */
+ arb.r = resource->info->r;
+ arb.repos = resource->info->repos;
+
   /* Sanity check. */
   ns = dav_svn_find_ns(doc->namespaces, SVN_XML_NAMESPACE);
   /* ### This is done on other places, but the document element is

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 27 23:06:46 2004

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.