diff options
| author | Misty De Meo | 2014-08-27 11:57:20 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-08-27 11:57:33 -0700 |
| commit | a5ba3782b02a4fd82b448a64e50f5e2bc6b3c5ad (patch) | |
| tree | ca5a42ecd2dfb440c55448d8cf5b3dcdf4e33d58 /Library/Formula/httrack.rb | |
| parent | a916da27b18bb5844ebe6c425305c338939e8d8e (diff) | |
| download | homebrew-a5ba3782b02a4fd82b448a64e50f5e2bc6b3c5ad.tar.bz2 | |
httrack: upstream patch to fix build pre-10.7
Fixes #31789.
Diffstat (limited to 'Library/Formula/httrack.rb')
| -rw-r--r-- | Library/Formula/httrack.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/httrack.rb b/Library/Formula/httrack.rb index e42726cf2..0370a9d3e 100644 --- a/Library/Formula/httrack.rb +++ b/Library/Formula/httrack.rb @@ -7,6 +7,13 @@ class Httrack < Formula url "http://mirror.httrack.com/historical/httrack-3.48.19.tar.gz" sha1 "7df386a248444c599948dbc77ed705b101151ed4" + # Fix building on systems without strnlen; fixed upstream, will be in next release + # https://code.google.com/p/httrack/issues/detail?id=54 + patch :p0 do + url "https://gist.githubusercontent.com/mistydemeo/5c50bba4be6c4f53d50c/raw/9465c915719106dbe234380f769c45ae3e118edb/httrack-strnlen.diff" + sha1 "206b0c3f00a8274eb01b04fb7f11b0339423332b" + end + def install ENV.deparallelize system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" |
