Show More
@@ -0,0 +1,63 b'' | |||
|
1 | diff -rup subversion-1.9.4-orig/subversion/include/svn_auth.h subversion-1.9.4/subversion/include/svn_auth.h | |
|
2 | --- subversion-1.9.4-orig/subversion/include/svn_auth.h 2015-02-13 12:17:40.000000000 +0100 | |
|
3 | +++ subversion-1.9.4/subversion/include/svn_auth.h 2016-09-21 12:55:27.000000000 +0200 | |
|
4 | @@ -943,7 +943,7 @@ svn_auth_get_windows_ssl_server_trust_pr | |
|
5 | ||
|
6 | #endif /* WIN32 && !__MINGW32__ || DOXYGEN */ | |
|
7 | ||
|
8 | -#if defined(DARWIN) || defined(DOXYGEN) | |
|
9 | +#if defined(SVN_HAVE_KEYCHAIN_SERVICES) || defined(DOXYGEN) | |
|
10 | /** | |
|
11 | * Set @a *provider to an authentication provider of type @c | |
|
12 | * svn_auth_cred_simple_t that gets/sets information from the user's | |
|
13 | @@ -984,7 +984,7 @@ void | |
|
14 | svn_auth_get_keychain_ssl_client_cert_pw_provider( | |
|
15 | svn_auth_provider_object_t **provider, | |
|
16 | apr_pool_t *pool); | |
|
17 | -#endif /* DARWIN || DOXYGEN */ | |
|
18 | +#endif /* SVN_HAVE_KEYCHAIN_SERVICES || DOXYGEN */ | |
|
19 | ||
|
20 | /* Note that the gnome keyring unlock prompt related items below must be | |
|
21 | * declared for all platforms in order to allow SWIG interfaces to be | |
|
22 | diff -rup subversion-1.9.4-orig/subversion/libsvn_subr/auth.h subversion-1.9.4/subversion/libsvn_subr/auth.h | |
|
23 | --- subversion-1.9.4-orig/subversion/libsvn_subr/auth.h 2015-08-27 06:00:31.000000000 +0200 | |
|
24 | +++ subversion-1.9.4/subversion/libsvn_subr/auth.h 2016-09-21 12:56:20.000000000 +0200 | |
|
25 | @@ -103,7 +103,7 @@ svn_auth__get_windows_ssl_server_trust_p | |
|
26 | apr_pool_t *pool); | |
|
27 | #endif /* WIN32 && !__MINGW32__ || DOXYGEN */ | |
|
28 | ||
|
29 | -#if defined(DARWIN) || defined(DOXYGEN) | |
|
30 | +#if defined(SVN_HAVE_KEYCHAIN_SERVICES) || defined(DOXYGEN) | |
|
31 | /** | |
|
32 | * Set @a *provider to an authentication provider of type @c | |
|
33 | * svn_auth_cred_simple_t that gets/sets information from the user's | |
|
34 | @@ -134,7 +134,7 @@ void | |
|
35 | svn_auth__get_keychain_ssl_client_cert_pw_provider( | |
|
36 | svn_auth_provider_object_t **provider, | |
|
37 | apr_pool_t *pool); | |
|
38 | -#endif /* DARWIN || DOXYGEN */ | |
|
39 | +#endif /* SVN_HAVE_KEYCHAIN_SERVICES || DOXYGEN */ | |
|
40 | ||
|
41 | #if !defined(WIN32) || defined(DOXYGEN) | |
|
42 | /** | |
|
43 | diff -rup subversion-1.9.4-orig/subversion/libsvn_subr/deprecated.c subversion-1.9.4/subversion/libsvn_subr/deprecated.c | |
|
44 | --- subversion-1.9.4-orig/subversion/libsvn_subr/deprecated.c 2015-08-27 06:00:31.000000000 +0200 | |
|
45 | +++ subversion-1.9.4/subversion/libsvn_subr/deprecated.c 2016-09-21 12:57:08.000000000 +0200 | |
|
46 | @@ -1479,7 +1479,7 @@ svn_auth_get_windows_ssl_server_trust_pr | |
|
47 | #endif /* WIN32 && !__MINGW32__ */ | |
|
48 | ||
|
49 | /*** From macos_keychain.c ***/ | |
|
50 | -#if defined(DARWIN) | |
|
51 | +#if defined(SVN_HAVE_KEYCHAIN_SERVICES) | |
|
52 | void | |
|
53 | svn_auth_get_keychain_simple_provider(svn_auth_provider_object_t **provider, | |
|
54 | apr_pool_t *pool) | |
|
55 | @@ -1494,7 +1494,7 @@ svn_auth_get_keychain_ssl_client_cert_pw | |
|
56 | { | |
|
57 | svn_auth__get_keychain_ssl_client_cert_pw_provider(provider, pool); | |
|
58 | } | |
|
59 | -#endif /* DARWIN */ | |
|
60 | +#endif /* SVN_HAVE_KEYCHAIN_SERVICES */ | |
|
61 | ||
|
62 | #if !defined(WIN32) | |
|
63 | void |
@@ -16,11 +16,19 b' let' | |||
|
16 | 16 | pkgs = pkgs_.overridePackages (self: super: { |
|
17 | 17 | # Override subversion derivation to |
|
18 | 18 | # - activate python bindings |
|
19 | subversion = super.subversion.override { | |
|
19 | subversion = let | |
|
20 | subversionWithPython = super.subversion.override { | |
|
20 | 21 | httpSupport = true; |
|
21 | 22 | pythonBindings = true; |
|
22 | 23 | python = self.python27Packages.python; |
|
23 | 24 | }; |
|
25 | in pkgs.lib.overrideDerivation subversionWithPython (oldAttrs: { | |
|
26 | patches = oldAttrs.patches ++ | |
|
27 | pkgs.lib.optionals pkgs.stdenv.isDarwin [ | |
|
28 | # johbo: "import svn.client" fails on darwin currently. | |
|
29 | ./pkgs/subversion-1.9.4-darwin.patch | |
|
30 | ]; | |
|
31 | }); | |
|
24 | 32 | }); |
|
25 | 33 | |
|
26 | 34 | inherit (pkgs.lib) fix extends; |
General Comments 0
You need to be logged in to leave comments.
Login now