From d5782079dc157ffc781832617516bb150c293660 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 14 Sep 2024 21:05:06 -0400 Subject: [PATCH] md5deep: add build patch for sequoia and linux Signed-off-by: Rui Chen --- Formula/m/md5deep.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Formula/m/md5deep.rb b/Formula/m/md5deep.rb index a564b61adb40..17ecc5692202 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