From owner-svn-src-all@FreeBSD.ORG Tue May 27 07:16:44 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E75CEA; Tue, 27 May 2014 07:16:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C3E6270F; Tue, 27 May 2014 07:16:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4R7GiZ6042710; Tue, 27 May 2014 07:16:44 GMT (envelope-from peter@svn.freebsd.org) Received: (from peter@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4R7GhEl042704; Tue, 27 May 2014 07:16:43 GMT (envelope-from peter@svn.freebsd.org) Message-Id: <201405270716.s4R7GhEl042704@svn.freebsd.org> From: Peter Wemm Date: Tue, 27 May 2014 07:16:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266736 - head/usr.bin/svn/lib/libapr X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 07:16:44 -0000 Author: peter Date: Tue May 27 07:16:43 2014 New Revision: 266736 URL: http://svnweb.freebsd.org/changeset/base/266736 Log: Update backend files and makefiles for apr 1.4.8 -> 1.5.1 Modified: head/usr.bin/svn/lib/libapr/Makefile head/usr.bin/svn/lib/libapr/apr.h head/usr.bin/svn/lib/libapr/apr_private.h Modified: head/usr.bin/svn/lib/libapr/Makefile ============================================================================== --- head/usr.bin/svn/lib/libapr/Makefile Tue May 27 07:15:14 2014 (r266735) +++ head/usr.bin/svn/lib/libapr/Makefile Tue May 27 07:16:43 2014 (r266736) @@ -4,7 +4,7 @@ INTERNALLIB= yes LIB= apr -SRCS= apr_cpystrn.c apr_fnmatch.c apr_getpass.c apr_hash.c \ +SRCS= apr_cpystrn.c apr_fnmatch.c apr_getpass.c apr_hash.c apr_skiplist.c \ apr_pools.c apr_random.c apr_snprintf.c apr_strings.c \ apr_strnatcmp.c apr_strtok.c apr_tables.c buffer.c \ builtins.c charset.c common.c copy.c dir.c dso.c env.c \ @@ -18,7 +18,7 @@ SRCS= apr_cpystrn.c apr_fnmatch.c apr_g shm.c signals.c sockaddr.c socket_util.c sockets.c \ sockopt.c solaris.c start.c tempdir.c thread.c thread_cond.c \ thread_mutex.c thread_rwlock.c threadpriv.c time.c \ - timestr.c userinfo.c version.c waitio.c + timestr.c userinfo.c version.c waitio.c z_asio.c .PATH: ${APR}/atomic/unix ${APR}/dso/unix ${APR}/file_io/unix \ ${APR}/locks/unix ${APR}/memory/unix ${APR}/misc/unix \ Modified: head/usr.bin/svn/lib/libapr/apr.h ============================================================================== --- head/usr.bin/svn/lib/libapr/apr.h Tue May 27 07:15:14 2014 (r266735) +++ head/usr.bin/svn/lib/libapr/apr.h Tue May 27 07:16:43 2014 (r266736) @@ -118,7 +118,7 @@ * or the extern "C" namespace */ -#if APR_HAVE_WINDOWS_H +#if APR_HAVE_WINDOWS_H && defined(WIN32) /* If windows.h was already included, our preferences don't matter. * If not, include a restricted set of windows headers to our tastes. */ @@ -466,6 +466,8 @@ typedef apr_uint32_t apr_uin */ #define APR_THREAD_FUNC +#if defined(DOXYGEN) || !defined(WIN32) + /** * The public APR functions are declared with APR_DECLARE(), so they may * use the most appropriate calling convention. Public APR functions with @@ -518,6 +520,20 @@ typedef apr_uint32_t apr_uin */ #define APR_DECLARE_DATA +#elif defined(APR_DECLARE_STATIC) +#define APR_DECLARE(type) type __stdcall +#define APR_DECLARE_NONSTD(type) type __cdecl +#define APR_DECLARE_DATA +#elif defined(APR_DECLARE_EXPORT) +#define APR_DECLARE(type) __declspec(dllexport) type __stdcall +#define APR_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl +#define APR_DECLARE_DATA __declspec(dllexport) +#else +#define APR_DECLARE(type) __declspec(dllimport) type __stdcall +#define APR_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl +#define APR_DECLARE_DATA __declspec(dllimport) +#endif + /* Define APR_SSIZE_T_FMT. * If ssize_t is an integer we define it to be "d", * if ssize_t is a long int we define it to be "ld", Modified: head/usr.bin/svn/lib/libapr/apr_private.h ============================================================================== --- head/usr.bin/svn/lib/libapr/apr_private.h Tue May 27 07:15:14 2014 (r266735) +++ head/usr.bin/svn/lib/libapr/apr_private.h Tue May 27 07:16:43 2014 (r266736) @@ -86,6 +86,9 @@ /* Define if accept4 function is supported */ #define HAVE_ACCEPT4 1 +/* Define if async i/o supports message q's */ +/* #undef HAVE_AIO_MSGQ */ + /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 @@ -142,7 +145,7 @@ /* #undef HAVE_DL_H */ /* Define if dup3 function is supported */ -/* #undef HAVE_DUP3 */ +#define HAVE_DUP3 1 /* Define if EGD is supported */ /* #undef HAVE_EGD */ @@ -934,7 +937,7 @@ /* switch this on if we have a BeOS version below BONE */ -#if BEOS && !HAVE_BONE_VERSION +#if defined(BEOS) && !defined(HAVE_BONE_VERSION) #define BEOS_R5 1 #else #define BEOS_BONE 1