You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/08/06 14:28:15 UTC

svn commit: r1694481 - /subversion/trunk/subversion/libsvn_subr/deprecated.c

Author: stefan2
Date: Thu Aug  6 12:28:15 2015
New Revision: 1694481

URL: http://svn.apache.org/r1694481
Log:
Fix UNIX build without GPG agent.

* subversion/libsvn_subr/deprecated.c
  (svn_auth_get_gpg_agent_simple_provider): Disable compilation when we
                                            don't have GPG agent support.

Patch by: Alexander Dreweke <alexander{_AT_}dreweke.net> 

Modified:
    subversion/trunk/subversion/libsvn_subr/deprecated.c

Modified: subversion/trunk/subversion/libsvn_subr/deprecated.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/deprecated.c?rev=1694481&r1=1694480&r2=1694481&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_subr/deprecated.c Thu Aug  6 12:28:15 2015
@@ -1497,12 +1497,14 @@ svn_auth_get_keychain_ssl_client_cert_pw
 #endif /* DARWIN */
 
 #if !defined(WIN32)
+#ifdef SVN_HAVE_GPG_AGENT
 void
 svn_auth_get_gpg_agent_simple_provider(svn_auth_provider_object_t **provider,
                                        apr_pool_t *pool)
 {
   svn_auth__get_gpg_agent_simple_provider(provider, pool);
 }
+#endif /* SVN_HAVE_GPG_AGENT */
 #endif /* !WIN32 */
 
 svn_error_t *