aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-21 10:11:08 -0500
committerJack Nagel2014-03-21 10:11:08 -0500
commit97842a10164d43a8c8da5895e8c36b4fe1744ca0 (patch)
tree22cbca9729d37af610006a3979aac748af02a3a5 /Library/Formula
parentfd11bbd8b902bee3ea314c2ff3316521a28bf36d (diff)
downloadhomebrew-97842a10164d43a8c8da5895e8c36b4fe1744ca0.tar.bz2
xmlto: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xmlto.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/xmlto.rb b/Library/Formula/xmlto.rb
index 263efe0fd..ee2ee022b 100644
--- a/Library/Formula/xmlto.rb
+++ b/Library/Formula/xmlto.rb
@@ -9,11 +9,9 @@ class Xmlto < Formula
depends_on 'docbook-xsl'
depends_on 'gnu-getopt'
- def patches
- # xmlto forces --nonet on xsltproc, which causes it to fail when
- # DTDs/entities aren't available locally.
- DATA
- end
+ # xmlto forces --nonet on xsltproc, which causes it to fail when
+ # DTDs/entities aren't available locally.
+ patch :DATA
def install
# GNU getopt is keg-only, so point configure to it