ports/83002: swig 1.3.25 crashes subversion-perl 1.2.0
Geoffrey Mainland
mainland-dated-1121712469.fde370 at apeiron.net
Wed Jul 13 18:50:04 UTC 2005
The following reply was made to PR ports/83002; it has been noted by GNATS.
From: Geoffrey Mainland <mainland-dated-1121712469.fde370 at apeiron.net>
To: bug-followup at FreeBSD.org, b6s at GOING04.iis.sinica.edu.tw
Cc: lev at 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;
More information about the freebsd-ports-bugs
mailing list