[vlc-commits] contrib/sparkle: re-add compilation support for OS X 10.6

Felix Paul Kühne git at videolan.org
Tue Apr 26 11:20:11 CEST 2016


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr 26 11:17:26 2016 +0200| [848d5609de269d16eb3218549d57ed3baed83497] | committer: Felix Paul Kühne

contrib/sparkle: re-add compilation support for OS X 10.6

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

 contrib/src/sparkle/rules.mak               |    1 +
 contrib/src/sparkle/sparkle-macosx106.patch |   14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index 0b758a7..67f30d6 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -18,6 +18,7 @@ sparkle: Sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
 	$(APPLY) $(SRC)/sparkle/sparkle-fix-runtime-exception-on-snowleopard.patch
 	$(APPLY) $(SRC)/sparkle/sparkle-disable-redirects-to-non-HTTP-URLs-in-release-notes.patch
 	$(APPLY) $(SRC)/sparkle/sparkle-prevent-inclusion-of-local-files-via-file-XML-entiti.patch
+	$(APPLY) $(SRC)/sparkle/sparkle-macosx106.patch
 	$(MOVE)
 
 .sparkle: sparkle
diff --git a/contrib/src/sparkle/sparkle-macosx106.patch b/contrib/src/sparkle/sparkle-macosx106.patch
new file mode 100644
index 0000000..8b24901
--- /dev/null
+++ b/contrib/src/sparkle/sparkle-macosx106.patch
@@ -0,0 +1,14 @@
+diff -ru sparkle-clean/SUAppcast.m sparkle/SUAppcast.m
+--- sparkle-clean/SUAppcast.m	2016-04-06 11:15:10.000000000 +0200
++++ sparkle/SUAppcast.m	2016-04-06 11:18:58.000000000 +0200
+@@ -15,6 +15,10 @@
+ #import "SUConstants.h"
+ #import "SULog.h"
+ 
++#ifndef NSXMLNodeLoadExternalEntitiesNever
++#define NSXMLNodeLoadExternalEntitiesNever 1UL << 19
++#endif
++
+ @interface NSXMLElement (SUAppcastExtensions)
+ - (NSDictionary *)attributesAsDictionary;
+ @end



More information about the vlc-commits mailing list