aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:21 -0500
committerJack Nagel2014-03-20 21:44:15 -0500
commita1100c9a4b2c7a7acb9208722d4a6ed2a4ef6936 (patch)
tree4a8d325a5b532268e4c9b43a706329fe6ca43663 /Library/Formula
parentb12e72d577fe2f4aaa5fe71a7e8b5c1ad770bf27 (diff)
downloadhomebrew-a1100c9a4b2c7a7acb9208722d4a6ed2a4ef6936.tar.bz2
subversion: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 1a1c0a525..13d4a0d59 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -45,9 +45,7 @@ class Subversion < Formula
# 1. Prevent '-arch ppc' from being pulled in from Perl's $Config{ccflags}
# 2. Fix #23993 by stripping flags swig can't handle from SWIG_CPPFLAGS
- def patches
- { :p0 => DATA }
- end
+ patch :p0, :DATA
# When building Perl or Ruby bindings, need to use a compiler that
# recognizes GCC-style switches, since that's what the system languages