subversion/subversion-1.8.13-r1655262+.patch

39 lines
1.2 KiB
Diff
Raw Normal View History

# ./pullrev.sh 1655262 1658347
http://svn.apache.org/viewvc?view=revision&revision=1655262
http://svn.apache.org/viewvc?view=revision&revision=1658347
--- subversion-1.8.13/subversion/bindings/swig/core.i
+++ subversion-1.8.13/subversion/bindings/swig/core.i
@@ -800,10 +800,11 @@
#endif
#ifdef SWIGPYTHON
-# The auth baton depends on the providers, so we preserve a
-# reference to them inside the wrapper. This way, if all external
-# references to the providers are gone, they will still be alive,
-# keeping the baton valid.
+/* The auth baton depends on the providers, so we preserve a
+ reference to them inside the wrapper. This way, if all external
+ references to the providers are gone, they will still be alive,
+ keeping the baton valid.
+ */
%feature("pythonappend") svn_auth_open %{
val.__dict__["_deps"] = list(args[0])
%}
--- subversion-1.8.13/subversion/bindings/swig/svn_delta.i
+++ subversion-1.8.13/subversion/bindings/swig/svn_delta.i
@@ -205,11 +205,11 @@
%include svn_delta_h.swg
#ifdef SWIGPYTHON
-%pythoncode {
+%pythoncode %{
# This function is for backwards compatibility only.
# Use svn_txdelta_window_t.ops instead.
svn_txdelta_window_t_ops_get = svn_txdelta_window_t._ops_get
-}
+%}
#endif
#ifdef SWIGRUBY