From e2fcd165b932c6dd53b283376530bc310fe06a64 Mon Sep 17 00:00:00 2001 From: Adrian Petrescu Date: Tue, 3 Sep 2013 18:00:33 -0400 Subject: SDL: fix build on Mavericks Closes #22294. Signed-off-by: Adam Vandenberg --- Library/Formula/sdl.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb index 8574417b0..7a2d38d28 100644 --- a/Library/Formula/sdl.rb +++ b/Library/Formula/sdl.rb @@ -14,6 +14,12 @@ class Sdl < Formula option :universal + def patches + # Fix for a bug preventing SDL from building at all on OSX 10.9 Mavericks + # Related ticket: https://bugzilla.libsdl.org/show_bug.cgi?id=2085 + "http://bugzilla-attachments.libsdl.org/attachment.cgi?id=1320" if MacOS.version >= :mavericks + end + def install # we have to do this because most build scripts assume that all sdl modules # are installed to the same prefix. Consequently SDL stuff cannot be -- cgit v1.2.3