$OpenBSD: patch-subversion_libsvn_subr_auth_c,v 1.10 2018/04/23 20:06:01 stsp Exp $
Index: subversion/libsvn_subr/auth.c
--- subversion/libsvn_subr/auth.c.orig
+++ subversion/libsvn_subr/auth.c
@@ -508,9 +508,9 @@ svn_auth_get_platform_specific_provider(svn_auth_provi
       const char *library_label, *library_name;
       const char *provider_function_name, *version_function_name;
       library_name = apr_psprintf(pool,
-                                  "libsvn_auth_%s-%d.so.%d",
+                                  "libsvn_auth_%s-%d.so.%s",
                                   provider_name,
-                                  SVN_VER_MAJOR, SVN_SOVERSION);
+                                  SVN_VER_MAJOR, "${SO_VERSION}");
       library_label = apr_psprintf(pool, "svn_%s", provider_name);
       provider_function_name = apr_psprintf(pool,
                                             "svn_auth_get_%s_%s_provider",
