Skip to content

Commit

Permalink
qemu: patch for m1
Browse files Browse the repository at this point in the history
added upstream patch that allows qemu to correctly work on m1

Closes #85173.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
ashley-cui authored and BrewTestBot committed Sep 21, 2021
1 parent 176aed4 commit 5e8eb54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/qemu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Qemu < Formula
url "https://download.qemu.org/qemu-6.1.0.tar.xz"
sha256 "eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96"
license "GPL-2.0-only"
revision 1
head "https://git.qemu.org/git/qemu.git", branch: "master"

bottle do
Expand Down Expand Up @@ -45,6 +46,13 @@ class Qemu < Formula
sha256 "81237c7b42dc0ffc8b32a2f5734e3480a3f9a470c50c14a9c4576a2561a35807"
end

if Hardware::CPU.arm?
patch do
url "https://patchwork.kernel.org/series/548227/mbox/"
sha256 "5b9c9779374839ce6ade1b60d1377c3fc118bc43e8482d0d3efa64383e11b6d3"
end
end

def install
ENV["LIBTOOL"] = "glibtool"

Expand Down

0 comments on commit 5e8eb54

Please sign in to comment.