aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-09-03 20:22:22 +0100
committerMike McQuaid2014-09-10 09:28:43 +0100
commit274ee96b571d83f1f3c7437783ced1b2b65b59a2 (patch)
tree322eacbf94cd0b7c87909f5f5c7d5e90939c39cd /Library
parent68cf6e57bab3a0df5cc7b9dc52813891170f82f2 (diff)
downloadhomebrew-274ee96b571d83f1f3c7437783ced1b2b65b59a2.tar.bz2
wxmac: patch to fix 10.10 build.
We seem to have started accepting Yosemite patches, so here’s the popular upstream proposed one that fixes 10.10 compile errors. It’s not as thorough as a few other patches lying around, but it does the job and is easiest to scope to just Yosemite for now without dragging anything else in.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index a5296dbbe..afba1f7dd 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -5,6 +5,15 @@ class Wxmac < Formula
url "https://downloads.sourceforge.net/project/wxwindows/3.0.1/wxWidgets-3.0.1.tar.bz2"
sha1 "73e58521d6871c9f4d1e7974c6e3a81629fddcf8"
+ # Patch to fix wx so it compiles on Yosemite.
+ # See http://trac.wxwidgets.org/ticket/16329
+ if MacOS.version == :yosemite
+ patch :p0 do
+ url "http://trac.wxwidgets.org/raw-attachment/ticket/16329/wx_webview.patch"
+ sha1 "4621be6cf308d50d22333707b17d243861c74a7d"
+ end
+ end
+
bottle do
sha1 "ea0f50918d4f4e1133ede454588a8b9853489c1f" => :mavericks
sha1 "f667fbad16c6d1970240d823d5aeb2c86c22d609" => :mountain_lion