aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorClaudio Satriano2014-01-07 17:59:13 +0100
committerAdam Vandenberg2014-02-25 06:17:29 -0800
commit4e21ef1db2983a063c5faebba0b2dddb42219295 (patch)
treea55102e0e29179e8ea37ab5bc9823983fe4e728e /Library
parentc45600a805a2b01e97b4b0076bc68fc56bd668eb (diff)
downloadhomebrew-4e21ef1db2983a063c5faebba0b2dddb42219295.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb5
1 files changed, 5 insertions, 0 deletions
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