diff --git a/Formula/m/md5deep.rb b/Formula/m/md5deep.rb index a564b61adb400..17ecc5692202a 100644 --- a/Formula/m/md5deep.rb +++ b/Formula/m/md5deep.rb @@ -32,10 +32,15 @@ class Md5deep < Formula # Fix compilation error due to pointer comparison patch do - on_sierra :or_newer do - url "https://github.com/jessek/hashdeep/commit/8776134.patch?full_index=1" - sha256 "3d4e3114aee5505d1336158b76652587fd6f76e1d3af784912277a1f93518c64" - end + url "https://github.com/jessek/hashdeep/commit/8776134.patch?full_index=1" + sha256 "3d4e3114aee5505d1336158b76652587fd6f76e1d3af784912277a1f93518c64" + end + + # Fix literal and identifier spacing as dictated by C++11 + # upstream pr ref, https://github.com/jessek/hashdeep/pull/385 + patch do + url "https://github.com/jessek/hashdeep/commit/18a6b5d57f7a648d2b7dcc6e50ff00a1e4b05fcc.patch?full_index=1" + sha256 "a48a214b06372042e4e9fc06caae9d0e31da378892d28c4a30b4800cedf85e86" end def install