On Mon, Jul 13, 2015 at 11:07:57AM +0200, Branko Čibej wrote:
> On 13.07.2015 11:04, [email protected] wrote:
> > Author: jorton
> > Date: Mon Jul 13 09:04:13 2015
> > New Revision: 1690591
> >
> > URL: http://svn.apache.org/r1690591
> > Log:
> > * subversion/bindings/swig/include/proxy.swg:
> > Use %{ %} with %pythoncode so comments avoid the SWIG preprocessor,
> > fixing the bindings with SWIG 3.0.6.
...
> I've tried this before and it didn't fix the bindings at all.
Hi Brane - yes I know, note the comment on the version: the SWIG
developers have addressed the issues we were hitting in the new 3.0.6
release last week.
Can you retest? It works for me now - including the tests.
If you or anybody else can confirm, I can update the version
requirement.
[[[
Update the SWIG version requirement to reflect fixes in 3.0.6.
* build/ac-macros/swig.m4,
subversion/bindings/swig/INSTALL:
Require SWIG version >= 1.3.24 but exclude 3.0.0 through 3.0.6.
]]]
Index: build/ac-macros/swig.m4
===================================================================
--- build/ac-macros/swig.m4 (revision 1690590)
+++ build/ac-macros/swig.m4 (working copy)
@@ -89,12 +89,12 @@
# If you change the required swig version number, don't forget to update:
# subversion/bindings/swig/INSTALL
if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
- test "$SWIG_VERSION" -lt "300000"; then
+ ( test "$SWIG_VERSION" -lt "300000" || test "$SWIG_VERSION" -ge
"300006"); then
SWIG_SUITABLE=yes
else
SWIG_SUITABLE=no
AC_MSG_WARN([Detected SWIG version $SWIG_VERSION_RAW])
- AC_MSG_WARN([Subversion requires SWIG >= 1.3.24 and < 3.0.0 ])
+ AC_MSG_WARN([Subversion requires SWIG >= 1.3.24 and < 3.0.0, or >= 3.0.6
])
fi
fi
Index: subversion/bindings/swig/INSTALL
===================================================================
--- subversion/bindings/swig/INSTALL (revision 1690590)
+++ subversion/bindings/swig/INSTALL (working copy)
@@ -65,7 +65,7 @@
Step 1: Install a suitable version of SWIG (which is
- currently SWIG version 1.3.24 or later, but not SWIG 3.0.0 or newer).
+ currently SWIG version 1.3.24 or later, excluding SWIG 3.0.0 through
3.0.5).
* Perhaps your distribution packages a suitable version - if it does
install it, and skip to the last bullet point in this section.