aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAustin Seipp2013-01-11 22:54:04 -0600
committerAdam Vandenberg2013-01-13 11:10:35 -0800
commit117558758e87fa456f8c6f82d6ef6fbd96a23a7d (patch)
tree82a2c5cfffa86368c7543bee74bf904c3ddb7916 /Library
parent781297afc20308956f63613835f43eda762f7707 (diff)
downloadhomebrew-117558758e87fa456f8c6f82d6ef6fbd96a23a7d.tar.bz2
QEMU: critical bugfix for semaphore fallback code.
Closes #17041. Signed-off-by: Austin Seipp <mad.one@gmail.com> Closes #17041. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qemu.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb
index 2546f6382..d57519ead 100644
--- a/Library/Formula/qemu.rb
+++ b/Library/Formula/qemu.rb
@@ -11,6 +11,18 @@ class Qemu < Formula
depends_on 'glib'
depends_on 'pixman'
+ def patches
+ # This patch fixes the semaphore fallback code for block devices,
+ # as OS X does not implement sem_timedwait() & Co.
+ #
+ # It has not been merged to the 1.3.x stable branch yet.
+ #
+ # See https://bugs.launchpad.net/qemu/+bug/1087114
+ if not build.head? then
+ { :p1 => "https://github.com/qemu/qemu/commit/a795ef8dcb8cbadffc996c41ff38927a97645234.diff"}
+ end
+ end
+
def install
# Disable the sdl backend. Let it use CoreAudio instead.
args = %W[