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 <flangy@gmail.com>
This commit is contained in:
Claudio Satriano authored and Adam Vandenberg committed 2014-02-25 06:17:29 -08:00
1 parent c45600a805
commit 4e21ef1db2
1 file changed
+5
+5
View File
@@ -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