From cc82f0db4d711b85e1cc322798eaa5130460f4a9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:21 -0500 Subject: [PATCH] subversion: use patch DSL --- Formula/subversion.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Formula/subversion.rb b/Formula/subversion.rb index 1a1c0a5258..13d4a0d595 100644 --- a/Formula/subversion.rb +++ b/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