From c6dc8fbe29d7ec795dae1957e5465d59d1d56f1e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:51 -0500 Subject: gnupg2: use patch DSL --- Library/Formula/gnupg2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/gnupg2.rb b/Library/Formula/gnupg2.rb index 3dc14e467..0fbac12bb 100644 --- a/Library/Formula/gnupg2.rb +++ b/Library/Formula/gnupg2.rb @@ -25,7 +25,7 @@ class Gnupg2 < Formula # 2.x, and gpg-agent separately, and adjust tests to fit this scheme # Fix typo that breaks compilation: # http://lists.gnupg.org/pipermail/gnupg-users/2013-May/046652.html - def patches; DATA; end + patch :DATA def install inreplace 'g10/keygen.c', 'max=4096', 'max=8192' if build.include? '8192' -- cgit v1.2.3