aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2014-01-16 10:37:08 -0800
committerMisty De Meo2014-01-16 12:50:23 -0800
commitcf85f1a4b4a3bf5bf8b69d44290b6bac90324551 (patch)
tree5640a85dbf43334b258ab8c46144f52f800f73b5
parentc0d7ec9c7b4d4b59608eceb4dc7242e4f9c3a373 (diff)
downloadhomebrew-cf85f1a4b4a3bf5bf8b69d44290b6bac90324551.tar.bz2
libxmp 4.2.2
-rw-r--r--Library/Formula/libxmp.rb15
1 files changed, 13 insertions, 2 deletions
diff --git a/Library/Formula/libxmp.rb b/Library/Formula/libxmp.rb
index a8c5e1622..57ce29a97 100644
--- a/Library/Formula/libxmp.rb
+++ b/Library/Formula/libxmp.rb
@@ -2,14 +2,25 @@ require 'formula'
class Libxmp < Formula
homepage 'http://xmp.sourceforge.net'
- url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.1/libxmp-4.2.1.tar.gz'
- sha1 '0c511b366910bfbc92bcccfd20546001fbc05623'
+ url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.2/libxmp-4.2.2.tar.gz'
+ sha1 '54d2db955b48e5ebdcfb6809d7cab3ce146c7611'
head do
url 'git://git.code.sf.net/p/xmp/libxmp'
depends_on :autoconf
end
+ # Both of these patches have been applied upstream and should be in
+ # the next release.
+ def patches
+ [
+ # fixes dylib versioning
+ 'https://github.com/cmatsuoka/libxmp/commit/c6301dc68e1c1f6c247667df56fda754412cfb48.patch',
+ # fixes replay time of S3M modules
+ 'https://github.com/cmatsuoka/libxmp/commit/3368bb9a4583d75e1844fad5caa964045d007179.patch'
+ ]
+ end unless build.head?
+
def install
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"