aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Petrescu2013-09-03 18:00:33 -0400
committerAdam Vandenberg2013-09-10 21:04:33 -0700
commite2fcd165b932c6dd53b283376530bc310fe06a64 (patch)
treed5758b95c77af60f2bd4c3113409b1d2dd1e1475
parent8b7fab2dfb5a6e6dcdb2374d6e13ba952cc4a418 (diff)
downloadhomebrew-e2fcd165b932c6dd53b283376530bc310fe06a64.tar.bz2
SDL: fix build on Mavericks
Closes #22294. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/sdl.rb6
1 files changed, 6 insertions, 0 deletions
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