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
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
------------------------------------------------------------------------
|
|
r1658347 | brane | 2015-02-09 11:23:53 +0100 (Mon, 09 Feb 2015) | 6 lines
|
|
Changed paths:
|
|
M /subversion/trunk/subversion/bindings/swig/svn_delta.i
|
|
|
|
Partial fix for bindings build with Swig 3.0.x; fixes swig-pl and swig-rb.
|
|
|
|
* subversion/bindings/swig/svn_delta.i:
|
|
Escape Python code block so that Swig doesn't error out on the comments,
|
|
thinking they're unknown directives.
|
|
|
|
------------------------------------------------------------------------
|
|
Index: subversion/bindings/swig/svn_delta.i
|
|
===================================================================
|
|
--- subversion/bindings/swig/svn_delta.i (revision 1658346)
|
|
+++ subversion/bindings/swig/svn_delta.i (revision 1658347)
|
|
@@ -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
|