diff options
| author | Adam Vandenberg | 2012-03-17 20:37:44 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-17 20:50:03 -0700 |
| commit | 74aced7819cf0a902ab1b6d59761a0f5f5a8faf5 (patch) | |
| tree | 811a92a76fb1d2af570a9853804c1b8ec91fcf05 /Library/Formula | |
| parent | 4a54dacc2881b6c8bc12f2650a0c2d07037fc49b (diff) | |
| download | homebrew-74aced7819cf0a902ab1b6d59761a0f5f5a8faf5.tar.bz2 | |
libcaca: use p1 patch
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libcaca.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/libcaca.rb b/Library/Formula/libcaca.rb index d1dd2da30..802e4ffb2 100644 --- a/Library/Formula/libcaca.rb +++ b/Library/Formula/libcaca.rb @@ -1,9 +1,9 @@ require 'formula' class Libcaca < Formula + homepage 'http://caca.zoy.org/wiki/libcaca' url 'http://caca.zoy.org/files/libcaca/libcaca-0.99.beta17.tar.gz' version '0.99b17' - homepage 'http://caca.zoy.org/wiki/libcaca' md5 '790d6e26b7950e15909fdbeb23a7ea87' depends_on 'pkg-config' => :build @@ -11,10 +11,8 @@ class Libcaca < Formula fails_with_llvm "unsupported inline asm: input constraint with a matching output constraint of incompatible type!" - def patches - # Make libcaca build with clang; see http://caca.zoy.org/ticket/90 - { :p0 => DATA } - end + # Make libcaca build with clang; see http://caca.zoy.org/ticket/90 + def patches; DATA; end def install # Some people can't compile when Java is enabled. See: @@ -38,8 +36,8 @@ class Libcaca < Formula end __END__ ---- caca/caca.h.orig 2011-07-05 00:09:51.000000000 -0700 -+++ caca/caca.h 2011-07-05 00:10:10.000000000 -0700 +--- a/caca/caca.h 2011-07-05 00:09:51.000000000 -0700 ++++ b/caca/caca.h 2011-07-05 00:10:10.000000000 -0700 @@ -645,7 +645,7 @@ typedef struct cucul_buffer cucul_buffer # define CACA_DEPRECATED # endif |
