From bb6971749c11636575b7318e605e33f856cdfbac Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Mar 2014 10:11:07 -0500 Subject: xa: use patch DSL --- Library/Formula/xa.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/xa.rb b/Library/Formula/xa.rb index fb14e8ea4..4629437e7 100644 --- a/Library/Formula/xa.rb +++ b/Library/Formula/xa.rb @@ -5,13 +5,11 @@ class Xa < Formula url 'http://www.floodgap.com/retrotech/xa/dists/xa-2.3.5.tar.gz' sha1 'd8f4564953adfcee69faacfa300b954875fabe21' - def patches - # From upstream: http://www.floodgap.com/retrotech/xa/xa-getline-patch.txt - # Filenames have been changed in the header ("xa.c" -> "a/src/xa.c") - # because the original patch can't be applied with -p0 or -p1. - # This fix will be in 2.3.6 - DATA - end + # From upstream: http://www.floodgap.com/retrotech/xa/xa-getline-patch.txt + # Filenames have been changed in the header ("xa.c" -> "a/src/xa.c") + # because the original patch can't be applied with -p0 or -p1. + # This fix will be in 2.3.6 + patch :DATA def install system "make", "CC=#{ENV.cc}", -- cgit v1.2.3