From 4e21ef1db2983a063c5faebba0b2dddb42219295 Mon Sep 17 00:00:00 2001 From: Claudio Satriano Date: Tue, 7 Jan 2014 17:59:13 +0100 Subject: wxmac: make non-bundled apps work Non-bundled apps (e.g. gnuplot) do not show the wx window with wxmac 3.0.0 (or show it after a huge amount of time). The upstream patch included here fixes this. Closes #25712. Signed-off-by: Adam Vandenberg --- Library/Formula/wxmac.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb index 5e9e6d5c3..a4d677e7d 100644 --- a/Library/Formula/wxmac.rb +++ b/Library/Formula/wxmac.rb @@ -22,6 +22,11 @@ class Wxmac < Formula depends_on :python => :recommended depends_on FrameworkPython if build.with? "python" + def patches + # Upstream patch for starting non-bundled apps like gnuplot (see http://trac.wxwidgets.org/ticket/15613) + {:p2 => 'http://trac.wxwidgets.org/changeset/75142/wxWidgets/trunk/src/osx/cocoa/utils.mm?format=diff&new=75142'} + end + def install_wx_python args = [ # Reference our wx-config -- cgit v1.2.3