Skip to content

Commit

Permalink
ogre1.9: patch for m1 architecture
Browse files Browse the repository at this point in the history
Adapted from patch submitted by @zarathustr in
osrf#1643
  • Loading branch information
scpeters committed Oct 22, 2021
1 parent 436df22 commit 27fae88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/ogre1.9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ class Ogre19 < Formula
sha256 "3a69a4ed9e86887d3a23b0882c9868e994ab710205bb2e4b87204a8c89f1a3c5"
end

# fix for m1 arch
patch do
url "https://github.com/scpeters/ogre/commit/c39b6df49618773357da0b54437f351b57168d12.patch?full_index=1"
sha256 "fa8dc20d5978d1ff1402a4df890a6fa0ca1fec6ec73f00154f7484820516b071"
end

def install
cmake_args = [
"-DCMAKE_OSX_ARCHITECTURES='x86_64'",
Expand Down

0 comments on commit 27fae88

Please sign in to comment.