From e45f837bcd2413db150a028e0669a275fd056f13 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 3 Sep 2014 20:22:22 +0100 Subject: [PATCH] wxmac: patch to fix 10.10 build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- Formula/wxmac.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/wxmac.rb b/Formula/wxmac.rb index a5296dbbe9b41..afba1f7dd6615 100644 --- a/Formula/wxmac.rb +++ b/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