diff options
| author | Brett Koonce | 2013-12-21 11:01:55 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-21 21:23:34 +0000 |
| commit | 90b6153f5ab8c32ad597f2bbdfea170ed86500a2 (patch) | |
| tree | 7b40fed6a36838834c214c1c6f4d71ea772987bf /Library/Formula/squid.rb | |
| parent | f18ce7de338b4cc957c77cbb6dfeaa0f9204030a (diff) | |
| download | homebrew-90b6153f5ab8c32ad597f2bbdfea170ed86500a2.tar.bz2 | |
squid 3.3.11
Closes #25385.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/squid.rb')
| -rw-r--r-- | Library/Formula/squid.rb | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/Library/Formula/squid.rb b/Library/Formula/squid.rb index 505756e36..c8b02c757 100644 --- a/Library/Formula/squid.rb +++ b/Library/Formula/squid.rb @@ -15,11 +15,15 @@ end class Squid < Formula homepage 'http://www.squid-cache.org/' - url 'http://www.squid-cache.org/Versions/v3/3.3/squid-3.3.10.tar.gz' - sha1 '2855dd88a6b0a37253a2f4aea77964c95f44bf7f' + url 'http://www.squid-cache.org/Versions/v3/3.3/squid-3.3.11.tar.gz' + sha1 'e89812a51d4e88abac15c301d571d83549f2d81e' depends_on NoBdb5 + # fix building on mavericks + # http://bugs.squid-cache.org/show_bug.cgi?id=3954 + def patches; DATA; end if MacOS.version >= :mavericks + def install # For --disable-eui, see: # http://squid-web-proxy-cache.1019090.n4.nabble.com/ERROR-ARP-MAC-EUI-operations-not-supported-on-this-operating-system-td4659335.html @@ -62,3 +66,39 @@ class Squid < Formula EOS end end + +__END__ +diff --git a/compat/unsafe.h b/compat/unsafe.h +index d58f546..6c9f7ab 100644 +--- a/compat/unsafe.h ++++ b/compat/unsafe.h +@@ -5,7 +5,7 @@ + * Trap unintentional use of functions unsafe for use within squid. + */ + +-#if !SQUID_NO_STRING_BUFFER_PROTECT ++#if !SQUID_NO_STRING_BUFFER_PROTECT && 0 + #ifndef sprintf + #define sprintf ERROR_sprintf_UNSAFE_IN_SQUID + #endif +diff --git a/include/Array.h b/include/Array.h +index 8cee5fa..8f43522 100644 +--- a/include/Array.h ++++ b/include/Array.h +@@ -35,6 +35,7 @@ + \todo CLEANUP: this file should be called Vector.h at least, and probably be replaced by STL Vector<C> + */ + ++#include <iterator> + #include "fatal.h" + #include "util.h" + +@@ -44,7 +45,7 @@ + /* iterator support */ + + template <class C> +-class VectorIteratorBase ++class VectorIteratorBase : public std::iterator <std::forward_iterator_tag, typename C::value_type> + { + + public: |
