From 546e45a2c127909b77cd7d1a684281255aee9d64 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 6 Nov 2014 17:30:12 +0000 Subject: ettercap: luajit patches Closes #33902. Closes #33971. Signed-off-by: Jack Nagel --- Library/Formula/ettercap.rb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index 87d58de67..872c21c34 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -6,6 +6,20 @@ class Ettercap < Formula stable do url "https://github.com/Ettercap/ettercap/archive/v0.8.1.tar.gz" sha1 "66362ce69cd9b82b9eb8ea6a52048700704a7d9b" + + # Upstream patch to fix Luajit compile on OS X + # Both of these patches are already in HEAD. + # https://github.com/Ettercap/ettercap/pull/618 + # https://github.com/Homebrew/homebrew/issues/33902 + patch do + url "https://github.com/Ettercap/ettercap/commit/190e4264e3.diff" + sha1 "4d8cadd8ca19956450e7e2d52f92dc649d393acf" + end + + patch do + url "https://github.com/Ettercap/ettercap/commit/e505088db.diff" + sha1 "db0f121aeba34286c5f6a16e523ac675868b384c" + end end head "https://github.com/Ettercap/ettercap.git" @@ -40,7 +54,7 @@ class Ettercap < Formula mkdir "build" do system "cmake", *args - system "make install" + system "make", "install" end end end -- cgit v1.2.3