aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Schroeder2014-06-04 11:23:04 +0200
committerMike McQuaid2014-06-04 10:56:44 +0100
commit1a9d5a9db67ad058505c16b1196daddfc68933a5 (patch)
treecacb5864fd69b3ffa4ed93fc0928a08161135b97 /Library
parentcb26c129163cc3a8657e7127d1c6a28492655e27 (diff)
downloadhomebrew-1a9d5a9db67ad058505c16b1196daddfc68933a5.tar.bz2
libcaca 0.99b19
The old formula referred to http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz which cannot be downloaded at the moment. A 0.99 beta 19 was found at fossies.org and it seems to work. Using beta 19 also obviates the need for the patch in the current formula.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libcaca.rb22
1 files changed, 3 insertions, 19 deletions
diff --git a/Library/Formula/libcaca.rb b/Library/Formula/libcaca.rb
index 5c0120f14..19addcbc5 100644
--- a/Library/Formula/libcaca.rb
+++ b/Library/Formula/libcaca.rb
@@ -2,9 +2,9 @@ require 'formula'
class Libcaca < Formula
homepage 'http://caca.zoy.org/wiki/libcaca'
- url 'http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz'
- version '0.99b18'
- sha1 '0cbf8075c01d59b53c3cdfec7df9818696a41128'
+ url 'http://fossies.org/linux/privat/libcaca-0.99.beta19.tar.gz'
+ version '0.99b19'
+ sha1 'ed138f3717648692113145b99a80511178548010'
option 'with-imlib2', 'Build with Imlib2 support'
@@ -19,9 +19,6 @@ class Libcaca < Formula
cause "Unsupported inline asm: input constraint with a matching output constraint of incompatible type"
end
- # Make libcaca build with clang; see http://caca.zoy.org/ticket/90
- patch :DATA
-
def install
# Some people can't compile when Java is enabled. See:
# https://github.com/Homebrew/homebrew/issues/issue/2049
@@ -54,16 +51,3 @@ class Libcaca < Formula
system "#{bin}/img2txt", "--version"
end
end
-
-__END__
---- 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
-
--# if defined __GNUC__ && __GNUC__ > 3
-+# if !defined __APPLE__ && defined __GNUC__ && __GNUC__ > 3
- # define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
- # else
- # define CACA_ALIAS(x)