We haven't even released the code yet :-) ... it's okay to force an upgrade
to 0.8.0. That cuts this down to a one line patch in fetch.c :-)
[ and a patch to autogen.sh ]
There will also be changes to the http_request_dispatch() calls.
Cheers,
-g
On Fri, Dec 15, 2000 at 10:21:43PM -0800, Mo DeJong wrote:
> Hello.
> 
> Attached is a little patch that fixes the first (of 2)
> build problems with the 0.8.0 release of neon.
> 
> Mo DeJong
> Red Hat Inc
> 
> Index: configure.in
> ===================================================================
> RCS file: /cvs/subversion/configure.in,v
> retrieving revision 1.44
> diff -u -r1.44 configure.in
> --- configure.in	2000/11/26 15:20:15	1.44
> +++ configure.in	2000/12/16 06:15:09
> @@ -118,6 +124,24 @@
>  dnl svn_error's default warning handler uses vfprintf()
>  AC_FUNC_VPRINTF
>  
> +dnl neon renamed hip_xml_add_handler to hip_xml_push_handler after 0.7.7
> +
> +AC_CACHE_CHECK(for hip_xml_push_handler function in neon,
> +ac_cv_have_hip_xml_push_handler, [
> +    CPPFLAGS_saved=$CPPFLAGS
> +    CPPFLAGS="$CPPFLAGS -I${srcdir}/neon/src"
> +    AC_EGREP_HEADER(hip_xml_push_handler,
> +    [hip_xml.h],
> +    ac_cv_have_hip_xml_push_handler=yes,
> +    ac_cv_have_hip_xml_push_handler=no
> +    )
> +    CPPFLAGS=$CPPFLAGS_saved
> +])
> +
> +if test "x$ac_cv_have_hip_xml_push_handler" = "xyes" ; then
> +  AC_DEFINE(HAVE_HIP_XML_PUSH_HANDLER, 1,
> +    [hip_xml_add_handler was renamed to hip_xml_push_handler after neon 0.7.7])
> +fi
>  
>  dnl Process some configuration options ----------
>  
> Index: subversion/libsvn_ra_dav/fetch.c
> ===================================================================
> RCS file: /cvs/subversion/subversion/libsvn_ra_dav/fetch.c,v
> retrieving revision 1.26
> diff -u -r1.26 fetch.c
> --- subversion/libsvn_ra_dav/fetch.c	2000/12/01 04:25:25	1.26
> +++ subversion/libsvn_ra_dav/fetch.c	2000/12/16 06:15:10
> @@ -31,6 +31,7 @@
>  #include "svn_delta.h"
>  #include "svn_ra.h"
>  #include "svn_path.h"
> +#include "config.h"
>  
>  #include "ra_dav.h"
>  
> @@ -313,7 +314,12 @@
>    dav_propfind_set_resource_handlers(fc->dph, start_resource, end_resource);
>    hip = dav_propfind_get_parser(fc->dph);
>  
> -  hip_xml_add_handler(hip, fetch_elems,
> +#ifndef HAVE_HIP_XML_PUSH_HANDLER
> +  hip_xml_add_handler(
> +#else
> +  hip_xml_push_handler(
> +#endif
> +                      hip, fetch_elems,
>                        validate_element, start_element, end_element, fc);
>  
>    if (fc->activity_href == NULL)
-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:17 2006