diff options
| author | Jack Nagel | 2014-08-23 10:23:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-23 10:24:12 -0500 |
| commit | 700ce08d4a677702a3b422284846ba57b2d885a3 (patch) | |
| tree | e6ee950a6aaa9638e3125ed88a8995b440802f27 /Library/Formula | |
| parent | 79dc162332b492801845d7a53191fb75710243de (diff) | |
| download | homebrew-700ce08d4a677702a3b422284846ba57b2d885a3.tar.bz2 | |
xa 2.3.6
Closes #31822.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xa.rb | 45 |
1 files changed, 4 insertions, 41 deletions
diff --git a/Library/Formula/xa.rb b/Library/Formula/xa.rb index 4629437e7..e94155134 100644 --- a/Library/Formula/xa.rb +++ b/Library/Formula/xa.rb @@ -1,15 +1,9 @@ -require 'formula' +require "formula" class Xa < Formula - homepage 'http://www.floodgap.com/retrotech/xa/' - url 'http://www.floodgap.com/retrotech/xa/dists/xa-2.3.5.tar.gz' - sha1 'd8f4564953adfcee69faacfa300b954875fabe21' - - # 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 + homepage "http://www.floodgap.com/retrotech/xa/" + url "http://www.floodgap.com/retrotech/xa/dists/xa-2.3.6.tar.gz" + sha1 "f4472003c939e94f28f61ce680c5b762f8ba41e1" def install system "make", "CC=#{ENV.cc}", @@ -26,34 +20,3 @@ class Xa < Formula assert_equal [0x20, 0xd2, 0xff], code end end - -__END__ ---- a/src/xa.c 2014-02-07 13:50:18.000000000 -0800 -+++ b/src/xa.c 2014-02-07 13:51:27.000000000 -0800 -@@ -87,7 +87,7 @@ - static int puttmp(int); - static int puttmps(signed char *, int); - static void chrput(int); --static int getline(char *); -+static int xgetline(char *); - static void lineout(void); - static long ga_p1(void); - static long gm_p1(void); -@@ -763,7 +763,7 @@ - temp_er = 0; - - /*FIXIT*/ -- while(!(er=getline(s))) -+ while(!(er=xgetline(s))) - { - er=t_p1((signed char*)s,o,&l,&al); - switch(segment) { -@@ -1002,7 +1002,7 @@ - - static char l[MAXLINE]; - --static int getline(char *s) -+static int xgetline(char *s) - { - static int ec; - |
