aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Wx
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-06-30 13:04:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-06-30 13:04:07 +0000
commit4de86fa69590cd5a24da8e4f5856e353f4fd8f2a (patch)
tree87f9462c6e628e8e4c32f03f341ccb5807daf6c2 /x11-toolkits/p5-Wx
parent916bfc0034e11ee7999b1598ccbd70021eddd5ca (diff)
downloadports-4de86fa69590cd5a24da8e4f5856e353f4fd8f2a.tar.gz
ports-4de86fa69590cd5a24da8e4f5856e353f4fd8f2a.zip
Notes
Diffstat (limited to 'x11-toolkits/p5-Wx')
-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 )