[vlc-commits] contrib/sparkle: fix runtime exception on snow leopard
Felix Paul Kühne
git at videolan.org
Wed Nov 5 00:13:30 CET 2014
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Nov 5 00:12:51 2014 +0100| [fa447d33bcf2a957d590d90fd362744c1b69ea7a] | committer: Felix Paul Kühne
contrib/sparkle: fix runtime exception on snow leopard
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa447d33bcf2a957d590d90fd362744c1b69ea7a
---
contrib/src/sparkle/rules.mak | 1 +
.../sparkle-fix-runtime-exception-on-snowleopard.patch | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index 1aefb0b..41459ae 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -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 --git a/contrib/src/sparkle/sparkle-fix-runtime-exception-on-snowleopard.patch b/contrib/src/sparkle/sparkle-fix-runtime-exception-on-snowleopard.patch
new file mode 100644
index 0000000..17f519c
--- /dev/null
+++ b/contrib/src/sparkle/sparkle-fix-runtime-exception-on-snowleopard.patch
@@ -0,0 +1,13 @@
+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;
+
More information about the vlc-commits
mailing list