fix build with swig 3.0.3 and later OBS-URL: https://build.opensuse.org/request/show/286999 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=195
33 lines
1.3 KiB
Diff
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])
|
|
%}
|