diff options
| author | Dominyk Tiller | 2014-11-06 17:30:12 +0000 |
|---|---|---|
| committer | Jack Nagel | 2014-11-06 15:46:09 -0600 |
| commit | 546e45a2c127909b77cd7d1a684281255aee9d64 (patch) | |
| tree | f0649fe5fe93da7d2ec3b901064ebc226797a08e /Library | |
| parent | e1147027001bf0677c5cd05e8e87f3337f5ed04a (diff) | |
| download | homebrew-546e45a2c127909b77cd7d1a684281255aee9d64.tar.bz2 | |
ettercap: luajit patches
Closes #33902.
Closes #33971.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ettercap.rb | 16 |
1 files changed, 15 insertions, 1 deletions
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 |
