I found these two patches in the freebsd port. They are for compatibility with older compilers. I've upgraded my home system so I'm not noticing these issues.
-Phil.
# # Define va_copy if not exists. 4.x for exemple. # --- buffer.c.orig Mon Dec 4 11:34:31 2006 +++ buffer.c Mon Dec 4 11:35:44 2006 @@ -138,6 +138,9 @@ buffer = (char *)buf->buffer + buf->off; space = buf->totallen - buf->misalign - buf->off; +#ifndef va_copy +#define va_copy(dest,src) memcpy(&dest, &src, sizeof (va_list)) +#endif va_copy(aq, ap); #ifdef WIN32
# # Fix build with old gcc # --- http.c.orig Sat Dec 2 19:30:04 2006 +++ http.c Mon Dec 4 11:17:38 2006 @@ -518,6 +518,7 @@ evhttp_connection_done(struct evhttp_connection *evcon) { struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); + int need_close; /* * if this is an incoming connection, we need to leave the request @@ -527,7 +528,7 @@ TAILQ_REMOVE(&evcon->requests, req, next); req->evcon = NULL; - int need_close = + need_close = evhttp_is_connection_close(req->input_headers) || evhttp_is_connection_close(req->output_headers);
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users