[vlc-commits] contrib/sparkle: fix runtime exception on snow leopard

Felix Paul Kühne git at videolan.org
Wed Nov 5 00:29:42 CET 2014


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Nov  5 00:12:51 2014 +0100| [fea994f54f5832df7c2d4c63a8fa38118f4b3aa9] | committer: Felix Paul Kühne

contrib/sparkle: fix runtime exception on snow leopard

(cherry picked from commit fa447d33bcf2a957d590d90fd362744c1b69ea7a)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=fea994f54f5832df7c2d4c63a8fa38118f4b3aa9
---

 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