diff options
| author | Jack Nagel | 2014-03-21 10:11:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-21 10:11:07 -0500 |
| commit | bb6971749c11636575b7318e605e33f856cdfbac (patch) | |
| tree | 9466c3d7dafaadad36ee1118b9bbd1dd53f3f9f9 /Library/Formula/xa.rb | |
| parent | 6ff3502a3bba0aacd79f6fde2c88fdd435a3be27 (diff) | |
| download | homebrew-bb6971749c11636575b7318e605e33f856cdfbac.tar.bz2 | |
xa: use patch DSL
Diffstat (limited to 'Library/Formula/xa.rb')
| -rw-r--r-- | Library/Formula/xa.rb | 12 |
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}", |
