diff options
| author | Elliot Saba | 2012-03-26 16:24:21 -0700 |
|---|---|---|
| committer | Misty De Meo | 2012-03-26 21:43:28 -0500 |
| commit | 8c64611ff248637988efc4c2c97b0ea3284619f8 (patch) | |
| tree | 830b83730f0dadf41f72cef7abf6184cf3af62c3 /Library/Formula/cryptopp.rb | |
| parent | 733e24afceeabb51f1bdb54a170aae573771c53b (diff) | |
| download | homebrew-8c64611ff248637988efc4c2c97b0ea3284619f8.tar.bz2 | |
cryptopp: fix compilation with clang
This upstream patch can be removed in the next version.
Fixes #10930.
Closes #11223.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/cryptopp.rb')
| -rw-r--r-- | Library/Formula/cryptopp.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/cryptopp.rb b/Library/Formula/cryptopp.rb index 6a0219c59..3846b117d 100644 --- a/Library/Formula/cryptopp.rb +++ b/Library/Formula/cryptopp.rb @@ -14,4 +14,10 @@ class Cryptopp < Formula lib.install "libcryptopp.a" (include+'cryptopp').install Dir["*.h"] end + + def patches + # adds "this->" qualifiers to allow compilation with clang++ + # Upgrades release (SVN rev. 521) to SVN rev. 522, patch will be included in next version + "https://raw.github.com/gist/2039165/ca2b7317e093a155dd08c107eaf45f1abbb8dc96/cryptopp521-522.patch" + end end |
