aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2013-04-07 21:33:34 -0500
committerMisty De Meo2013-04-08 22:12:26 -0500
commitac9bf84628cc6483e425c4cdc0cb007b225e5a1d (patch)
treec337045dacfed484f5c34c7a9f74b0b979b87adf /Library/Formula
parent6ec8cfd269a8da21d6e2d0755e18b4b79383ea5b (diff)
downloadhomebrew-ac9bf84628cc6483e425c4cdc0cb007b225e5a1d.tar.bz2
xmp 4.0.2
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xmp.rb27
1 files changed, 4 insertions, 23 deletions
diff --git a/Library/Formula/xmp.rb b/Library/Formula/xmp.rb
index 59373fd2b..f09d6a88b 100644
--- a/Library/Formula/xmp.rb
+++ b/Library/Formula/xmp.rb
@@ -2,39 +2,20 @@ require 'formula'
class Xmp < Formula
homepage 'http://xmp.sourceforge.net'
- url 'http://downloads.sourceforge.net/project/xmp/xmp/4.0.1/xmp-4.0.1.tar.gz'
- sha1 'fc7f9e9575bb71817fbb47e8e9287a622ff59be0'
+ url 'http://downloads.sourceforge.net/project/xmp/xmp/4.0.2/xmp-4.0.2.tar.gz'
+ sha1 '32c2d5884cd94cfbc442095200d625b9f7ec6d2d'
depends_on 'libxmp'
- # 'uint8' doesn't exist on 10.6, just 'UInt8'
- # Patch submitted upstream: http://sourceforge.net/mailarchive/forum.php?thread_name=CAGLuM17HE3wUrYEVZ9HgEbpPcvcyGAeAR4uHNj7gjcCN%3DBN3Eg%40mail.gmail.com&forum_name=xmp-devel
- def patches; DATA; end
-
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
# install the included demo song
- share.install "delicate_oooz!.mod"
+ share.install "08_sad_song.it"
end
def test
- system "#{bin}/xmp", "--load-only", "#{share}/delicate_oooz!.mod"
+ system "#{bin}/xmp", "--load-only", share/"08_sad_song.it"
end
end
-
-__END__
-diff --git a/src/sound_coreaudio.c b/src/sound_coreaudio.c
-index 45a625b..33c3bec 100644
---- a/src/sound_coreaudio.c
-+++ b/src/sound_coreaudio.c
-@@ -21,7 +21,7 @@ static AudioUnit au;
- */
-
- static int paused;
--static uint8 *buffer;
-+static UInt8 *buffer;
- static int buffer_len;
- static int buf_write_pos;
- static int buf_read_pos;