ios-webkit-debug-proxy 1.1

Closes Homebrew/homebrew#19079.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Todd Wright 2013-04-09 10:40:09 -04:00 committed by Jack Nagel
parent 17384e9a5e
commit 9833d4ef77

View file

@ -12,8 +12,8 @@ end
class IosWebkitDebugProxy < Formula
homepage 'https://github.com/google/ios-webkit-debug-proxy'
url 'https://github.com/google/ios-webkit-debug-proxy/archive/1.0.tar.gz'
sha1 '2f05bdca351cb7730552a63b3825db858bf8fdd6'
url 'https://github.com/google/ios-webkit-debug-proxy/archive/1.1.tar.gz'
sha1 'fa4c8fa295f95d0f712d045da3d6f4f040dba9f5'
depends_on LionOrNewer
depends_on :autoconf => :build
@ -22,10 +22,6 @@ class IosWebkitDebugProxy < Formula
depends_on 'usbmuxd'
depends_on 'libimobiledevice'
# Patch from upstream to fix compiling with clang
# Can be removed in next release.
def patches; DATA; end
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
@ -33,18 +29,3 @@ class IosWebkitDebugProxy < Formula
system "make install"
end
end
__END__
diff --git a/src/ios_webkit_debug_proxy_main.c b/src/ios_webkit_debug_proxy_main.c
index e2f8f3c..c65180c 100644
--- a/src/ios_webkit_debug_proxy_main.c
+++ b/src/ios_webkit_debug_proxy_main.c
@@ -52,7 +52,7 @@ int main(int argc, char** argv) {
int ret = iwdpm_configure(self, argc, argv);
if (ret) {
exit(ret > 0 ? ret : 0);
- return;
+ return ret;
}
iwdpm_create_bridge(self);