ports/136135: [maintainer update] fix for x11-toolkits/p5-Wx-Perl-ProcessStream core dumping on 8-CURRENT

Cezary Morga cm at therek.net
Sun Jun 28 15:20:01 UTC 2009


>Number:         136135
>Category:       ports
>Synopsis:       [maintainer update] fix for x11-toolkits/p5-Wx-Perl-ProcessStream core dumping on 8-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 15:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Cezary Morga
>Release:        FreeBSD 8.0-CURRENT-200905 i386
>Organization:
>Environment:
>Description:
The source of x11-toolkits/p5-Wx-Perl-ProcessStream core dumping on 8-CURRENT (or any other version with malloc debugging on, as a matter of fact) was x11-toolkits/p5-Wx, so the following patch:
 - adds files/patch-Wx.xs to x11-toolkits/p5-Wx,
 - removes BROKEN from x11-toolkits/p5-Wx-Perl-ProcessStream (added in ports/135181).

Tested only on i386.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN x11-toolkits/p5-Wx-Perl-ProcessStream.orig/Makefile x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile
--- x11-toolkits/p5-Wx-Perl-ProcessStream.orig/Makefile	2009-06-27 15:47:20.000000000 +0200
+++ x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile	2009-06-28 17:04:56.459487000 +0200
@@ -25,10 +25,4 @@
 
 MAN3=		Wx::Perl::ProcessStream.3
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 800000
-BROKEN=	Dumps core during build on 8.0-CURRENT
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN x11-toolkits/p5-Wx.orig/files/patch-Wx.xs x11-toolkits/p5-Wx/files/patch-Wx.xs
--- x11-toolkits/p5-Wx.orig/files/patch-Wx.xs	1970-01-01 01:00:00.000000000 +0100
+++ x11-toolkits/p5-Wx/files/patch-Wx.xs	2009-06-28 17:02:54.253320000 +0200
@@ -0,0 +1,13 @@
+--- Wx.xs.orig	2009-04-20 22:17:27.000000000 +0200
++++ Wx.xs	2009-06-26 09:20:07.000000000 +0200
+@@ -278,10 +278,7 @@ Load()
+ 
+     if( wxPerlAppCreated || wxTopLevelWindows.GetCount() > 0 )
+         return;
+-#if defined(DEBUGGING) && !defined(PERL_USE_SAFE_PUTENV)
+-    // avoid crash on exit in Fedora (and other DEBUGGING Perls)
+     PL_use_safe_putenv = 1;
+-#endif
+ 
+     int argc = 0;
+ #if wxUSE_UNICODE && WXPERL_W_VERSION_GE( 2, 5, 3 )


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list