From ac9bf84628cc6483e425c4cdc0cb007b225e5a1d Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 7 Apr 2013 21:33:34 -0500 Subject: xmp 4.0.2 --- Library/Formula/xmp.rb | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) (limited to 'Library') 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; -- cgit v1.2.3