AC_SUBST(WITH_NEON_SUBDIR)
AC_SUBST(WITH_NEON_INCLUDE)
AC_SUBST(WITH_NEON_LIB)
---- rpm-4.4.5/rpmio/rpmdav.c.orig 2006-02-22 00:58:54.000000000 +0100
-+++ rpm-4.4.5/rpmio/rpmdav.c 2006-02-28 22:00:44.929948750 +0100
-@@ -9,24 +9,6 @@
+--- rpm-4.4.6/rpmio/rpmdav.c.orig 2006-03-12 20:24:23.000000000 +0100
++++ rpm-4.4.6/rpmio/rpmdav.c 2006-04-17 18:20:07.597482250 +0200
+@@ -9,31 +9,6 @@
#include <pthread.h>
#endif
-#include "ne_socket.h"
-#include "ne_string.h"
-#include "ne_utils.h"
+-
+-/* XXX API changes for neon-0.26.0 */
+-#if !defined(NE_FREE)
+-#define ne_set_persist(_sess, _flag)
+-#define ne_propfind_set_private(_pfh, _create_item, NULL) \
+- ne_propfind_set_private(_pfh, _create_item, NULL, NULL)
+-#endif
-
#include <rpmio_internal.h>
#define _RPMDAV_INTERNAL
-@@ -62,1326 +44,6 @@
+@@ -69,1332 +44,6 @@
}
/* =============================================================== */
-static void *fetch_destroy_item(/*@only@*/ struct fetch_resource_s *res)
- /*@modifies res @*/
-{
-- NE_FREE(res->uri);
-- NE_FREE(res->error_reason);
+- ne_free(res->uri);
+- ne_free(res->error_reason);
- res = _free(res);
- return NULL;
-}
- }
-}
-
--static void fetch_results(void *userdata, const char *uri,
+-static void fetch_results(void *userdata, void *uarg,
- const ne_prop_result_set *set)
- /*@*/
-{
- const ne_status *status = NULL;
- const char * path = NULL;
-
+-#if !defined(NE_FREE)
+- const ne_uri * uri = uarg;
+- (void) urlPath(uri->path, &path);
+-#else
+- const char * uri = uarg;
- (void) urlPath(uri, &path);
+-#endif
- if (path == NULL)
- return;
-
- xx = argvAdd(&ctx->av, val);
-if (_dav_debug < 0)
-fprintf(stderr, "*** argvAdd(%p,\"%s\")\n", &ctx->av, val);
-- NE_FREE(val);
+- ne_free(val);
-
- while (ctx->ac >= ctx->nalloced) {
- if (ctx->nalloced <= 0)
/*@unchecked@*/
int avmagicdir = 0x3607113;
-@@ -1504,172 +166,3 @@
+@@ -1517,172 +166,3 @@
/*@=kepttrans@*/
}
/*@=boundswrite@*/