From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 28 15:20:00 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5D041065676 for ; Sun, 28 Jun 2009 15:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BF6208FC14 for ; Sun, 28 Jun 2009 15:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5SFK0fC089114 for ; Sun, 28 Jun 2009 15:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5SFK0Ph089113; Sun, 28 Jun 2009 15:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 28 Jun 2009 15:20:00 GMT Resent-Message-Id: <200906281520.n5SFK0Ph089113@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cezary Morga Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8AD106564A for ; Sun, 28 Jun 2009 15:17:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6718FC1C for ; Sun, 28 Jun 2009 15:17:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5SFHNc6066905 for ; Sun, 28 Jun 2009 15:17:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5SFHNBM066904; Sun, 28 Jun 2009 15:17:23 GMT (envelope-from nobody) Message-Id: <200906281517.n5SFHNBM066904@www.freebsd.org> Date: Sun, 28 Jun 2009 15:17:23 GMT From: Cezary Morga To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136135: [maintainer update] fix for x11-toolkits/p5-Wx-Perl-ProcessStream core dumping on 8-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 15:20:01 -0000 >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 - -.if ${OSVERSION} > 800000 -BROKEN= Dumps core during build on 8.0-CURRENT -.endif - -.include +.include 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: