homebrew-core/Formula/at-spi2-atk.rb

38 lines
1.0 KiB
Ruby
Raw Normal View History

2013-02-02 06:49:39 +00:00
require 'formula'
class AtSpi2Atk < Formula
homepage 'http://a11y.org'
url 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.6/at-spi2-atk-2.6.2.tar.xz'
sha256 '496c8432e8ab82735145f9af5d45209e9b708bf3c94e527ee091d08641a9bcfa'
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'at-spi2-core'
depends_on 'atk'
# https://bugs.freedesktop.org/show_bug.cgi?id=60209
def patches; DATA end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
__END__
diff --git a/atk-adaptor/accessible-cache.c b/atk-adaptor/accessible-cache.c
index be247e4..62566b8 100644
--- a/atk-adaptor/accessible-cache.c
+++ b/atk-adaptor/accessible-cache.c
@@ -362,7 +362,7 @@ child_added_listener (GSignalInvocationHint * signal_hint,
if (!child)
{
g_static_rec_mutex_unlock (&cache_mutex);
- return;
+ return FALSE;
}
g_object_ref (child);