aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-06-30 21:04:07 +0800
committerpav <pav@FreeBSD.org>2009-06-30 21:04:07 +0800
commitf4aeb6bee3271f40197aeab65866f92c21647caa (patch)
tree24f55041d3108d3716b49cd772b27d1dd053b3a8 /x11-toolkits
parent105181cc06e539a5a96ce54d2dc0986f483a6340 (diff)
downloadfreebsd-ports-gnome-f4aeb6bee3271f40197aeab65866f92c21647caa.tar.gz
freebsd-ports-gnome-f4aeb6bee3271f40197aeab65866f92c21647caa.tar.zst
freebsd-ports-gnome-f4aeb6bee3271f40197aeab65866f92c21647caa.zip
- Fix core-dump with malloc debug on
PR: ports/136135 Submitted by: Cezary Morga <cm@therek.net> (maintainer)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Wx/Makefile1
-rw-r--r--x11-toolkits/p5-Wx/files/patch-Wx.xs13
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Wx/Makefile b/x11-toolkits/p5-Wx/Makefile
index 28b9d69c9653..1a823d040474 100644
--- a/x11-toolkits/p5-Wx/Makefile
+++ b/x11-toolkits/p5-Wx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Wx
PORTVERSION= 0.91
+PORTREVISION= 1
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/x11-toolkits/p5-Wx/files/patch-Wx.xs b/x11-toolkits/p5-Wx/files/patch-Wx.xs
new file mode 100644
index 000000000000..90ea3220874e
--- /dev/null
+++ b/x11-toolkits/p5-Wx/files/patch-Wx.xs
@@ -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 )