Date: Wed, 13 Jul 2005 18:50:03 GMT From: Geoffrey Mainland <mainland-dated-1121712469.fde370@apeiron.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/83002: swig 1.3.25 crashes subversion-perl 1.2.0 Message-ID: <200507131850.j6DIo3dc001533@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/83002; it has been noted by GNATS. From: Geoffrey Mainland <mainland-dated-1121712469.fde370@apeiron.net> To: bug-followup@FreeBSD.org, b6s@GOING04.iis.sinica.edu.tw Cc: lev@freebsd.org Subject: Re: ports/83002: swig 1.3.25 crashes subversion-perl 1.2.0 Date: Wed, 13 Jul 2005 14:47:47 -0400 Here's a patch to fix subversion's perl bindings with swig 1.3.25. Note that this patch is still needed with the new subversion 1.2.1 release. diff -ruN /usr/ports/devel/subversion/files/patch-subversion::bindings::swig::core.i subversion/files/patch-subversion::bindings::swig::core.i --- /usr/ports/devel/subversion/files/patch-subversion::bindings::swig::core.i Wed Dec 31 19:00:00 1969 +++ subversion/files/patch-subversion::bindings::swig::core.i Wed Jul 13 14:42:46 2005 @@ -0,0 +1,18 @@ +--- subversion/bindings/swig/core.i.orig Wed Jul 13 14:25:06 2005 ++++ subversion/bindings/swig/core.i Wed Jul 13 14:25:24 2005 +@@ -425,13 +425,13 @@ + + static apr_pool_t *current_pool = 0; + +-SWIGEXPORT(apr_pool_t *) ++SWIGEXPORT apr_pool_t * + svn_swig_pl_get_current_pool (void) + { + return current_pool; + } + +-SWIGEXPORT(void) ++SWIGEXPORT void + svn_swig_pl_set_current_pool (apr_pool_t *pool) + { + current_pool = pool;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507131850.j6DIo3dc001533>