Commit fea994f5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/sparkle: fix runtime exception on snow leopard

(cherry picked from commit fa447d33bcf2a957d590d90fd362744c1b69ea7a)
parent 57c046ce
......@@ -15,6 +15,7 @@ $(TARBALLS)/Sparkle-$(SPARKLE_VERSION).zip:
sparkle: Sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
$(UNPACK)
$(APPLY) $(SRC)/sparkle/sparkle-fix-compilation-on-snowleopard.patch
$(APPLY) $(SRC)/sparkle/sparkle-fix-runtime-exception-on-snowleopard.patch
$(MOVE)
.sparkle: sparkle
......
diff -ru sparkle/SUBasicUpdateDriver.m sparkled/SUBasicUpdateDriver.m
--- sparkle/SUBasicUpdateDriver.m 2014-11-05 00:05:47.000000000 +0100
+++ sparkled-fixed/SUBasicUpdateDriver.m 2014-11-04 23:48:19.000000000 +0100
@@ -105,9 +105,6 @@
{
if ([[updater delegate] respondsToSelector:@selector(updater:didFinishLoadingAppcast:)])
[[updater delegate] updater:updater didFinishLoadingAppcast:ac];
-
- NSDictionary *userInfo = (ac != nil) ? [NSDictionary dictionaryWithObject:SUUpdaterAppcastNotificationKey forKey:ac] : nil;
- [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFinishLoadingAppCastNotification object:updater userInfo:userInfo];
SUAppcastItem *item = nil;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment