Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
Name: subversion
Version: 1.10.0
-Release: 2
+Release: 3
License: Apache v2.0
Group: Development/Version Control
Source0: http://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2
Patch3: %{name}-tests.patch
Patch4: x32-libdir.patch
Patch5: %{name}-rdoc.patch
+Patch6: with_gnome_keyring_sefault.patch
URL: http://subversion.apache.org/
%{?with_apache:BuildRequires: apache-devel >= 2.4.14}
BuildRequires: apr-devel >= 1:1.3
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p0
sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
--- /dev/null
+[[[
+Fix segfault when subversion is built with gnome keyring support and keyring
+password lookup fails.
+
+* subversion/libsvn_subr/simple_providers.c
+ (svn_auth__simple_creds_cache_get): Initialize 'done' with FALSE since ie
+ password_get_gnome_keyring sets 'done' only to TRUE. In case of error
+ it leaves unintialized 'done' (usually non 0) and default_password with NULL
+ causing segfault at subsequent strcmp.
+]]]
+Index: subversion/libsvn_subr/simple_providers.c
+===================================================================
+--- subversion/libsvn_subr/simple_providers.c (revision 1835628)
++++ subversion/libsvn_subr/simple_providers.c (working copy)
+@@ -206,7 +206,7 @@
+ {
+ if (have_passtype)
+ {
+- svn_boolean_t done;
++ svn_boolean_t done = FALSE;
+
+ SVN_ERR(password_get(&done, &default_password, creds_hash,
+ realmstring, username, parameters,