From f41ec8055ab0aa74b32f33f8db85726522b46a3d Mon Sep 17 00:00:00 2001 From: Edward Kmett Date: Fri, 28 Nov 2014 23:27:27 -0500 Subject: wxmac: --without-mediactrl on 64-bit machines. Users of tools that fail when trying to link non-existent frameworks run into problems on 64-bit macs, because the old 32-bit QuickTime framework does not and never will exist as a 64 bit library. This has been submitted upstream and accepted into wxmac HEAD, however a released version is not yet available and won't be for quite some time. This patch lets us actually get code to compile without waiting 8 months for a release. Closes #34543. Closes #33366. Signed-off-by: Mike McQuaid --- Library/Formula/wxmac.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb index 741929d6c..18e33fd9d 100644 --- a/Library/Formula/wxmac.rb +++ b/Library/Formula/wxmac.rb @@ -52,7 +52,10 @@ class Wxmac < Formula "--enable-clipboard", "--enable-webkit", "--enable-svg", - "--enable-mediactrl", + # On 64-bit, enabling mediactrl leads to wxconfig trying to pull + # in a non-existent 64 bit QuickTime framework. This is submitted + # upstream and will eventually be fixed, but for now... + MacOS.prefer_64_bit? ? "--disable-mediactrl" : "--enable-mediactrl", "--enable-graphics_ctx", "--enable-controls", "--enable-dataviewctrl", -- cgit v1.2.3