ports/83002: swig 1.3.25 crashes subversion-perl 1.2.0

Soeren Straarup xride at x12.dk
Thu Jul 21 19:48:39 UTC 2005


On Mon, 18 Jul 2005, Mark Linimon wrote:

> Synopsis: swig 1.3.25 crashes subversion-perl 1.2.0
>
> Responsible-Changed-From-To: freebsd-ports-bugs->lev
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Mon Jul 18 23:04:22 GMT 2005
> Responsible-Changed-Why:
> Over to maintainer of devel/subversion-perl.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=83002

To me it looks like it is only devel/subversion-perl that has a problem
with the new version of devel/swig13.

I attach a patch that i would presume makes it build on 4.X

\Søren Straarup

Soeren Straarup   | aka OZ2DAK aka Xride
FreeBSD wannabe   | FreeBSD since 2.2.6-R
    'We wanted to believe. But the tools
     had been taken away..' Mulder
-------------- next part --------------
--- Lib/runtime.swg.orig	Tue Jul 19 19:15:43 2005
+++ Lib/runtime.swg	Tue Jul 19 19:16:10 2005
@@ -25,13 +25,13 @@
 
 SWIGRUNTIMEINLINE swig_type_info *
 SWIG_TypeQuery(const char *name) {
-  swig_module_info *module = SWIG_GetModule();
+  swig_module_info *module = SWIG_GetModule(NULL);
   return SWIG_TypeQueryModule(module, module, name);
 }
 
 SWIGRUNTIMEINLINE swig_type_info *
 SWIG_MangledTypeQuery(const char *name) {
-  swig_module_info *module = SWIG_GetModule();
+  swig_module_info *module = SWIG_GetModule(NULL);
   return SWIG_MangledTypeQueryModule(module, module, name);
 }
 


More information about the freebsd-ports-bugs mailing list