aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xa.rb12
1 files changed, 5 insertions, 7 deletions
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}",