aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cryptopp.rb6
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