subversion/subversion-1.8.11-swig-py-comment.patch

33 lines
1.3 KiB
Diff

------------------------------------------------------------------------
r1655262 | rhuijben | 2015-01-28 12:37:54 +0100 (Wed, 28 Jan 2015) | 6 lines
Changed paths:
M /subversion/trunk/subversion/bindings/swig/core.i
* subversion/bindings/swig/core.i
Use C style comments in a file that is processed like C, to avoid errors
with newer swig versions that use stricter processing rules.
Found by: astieger
------------------------------------------------------------------------
Index: subversion/bindings/swig/core.i
===================================================================
--- subversion/bindings/swig/core.i (revision 1655261)
+++ subversion/bindings/swig/core.i (revision 1655262)
@@ -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])
%}