[vlc-commits] contrib/sparkle: add patch fixing compilation within current versions of the Xcode IDE

Felix Paul Kühne git at videolan.org
Sat Jan 11 18:34:51 CET 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan 11 18:16:29 2014 +0100| [ce55da2ea43f6c781499d50bd15e58000b6db021] | committer: Felix Paul Kühne

contrib/sparkle: add patch fixing compilation within current versions of the Xcode IDE

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

 contrib/src/sparkle/rules.mak                      |    1 +
 ...le-fix-xcode-project-for-current-releases.patch |  189 ++++++++++++++++++++
 2 files changed, 190 insertions(+)

diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index f49257e..bb2d634 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -18,6 +18,7 @@ $(TARBALLS)/sparkle-git.tar.xz:
 sparkle: sparkle-git.tar.xz .sum-sparkle
 	$(UNPACK)
 	$(APPLY) $(SRC)/sparkle/sparkle-fix-formatstring.patch
+	$(APPLY) $(SRC)/sparkle/sparkle-fix-xcode-project-for-current-releases.patch
 	$(MOVE)
 
 .sparkle: sparkle
diff --git a/contrib/src/sparkle/sparkle-fix-xcode-project-for-current-releases.patch b/contrib/src/sparkle/sparkle-fix-xcode-project-for-current-releases.patch
new file mode 100644
index 0000000..9f38e44
--- /dev/null
+++ b/contrib/src/sparkle/sparkle-fix-xcode-project-for-current-releases.patch
@@ -0,0 +1,189 @@
+diff -ru sparkle/Sparkle.xcodeproj/project.pbxproj sparkle-fixed/Sparkle.xcodeproj/project.pbxproj
+--- sparkle/Sparkle.xcodeproj/project.pbxproj	2014-01-11 18:03:33.000000000 +0100
++++ sparkle-fixed/Sparkle.xcodeproj/project.pbxproj	2014-01-11 18:10:24.000000000 +0100
+@@ -1368,6 +1368,22 @@
+ 			baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
++				WARNING_CFLAGS = (
++					"-Wall",
++					"-Wno-unused-parameter",
++					"-Wundef",
++					"-Wendif-labels",
++					"-Wpointer-arith",
++					"-Wcast-align",
++					"-Wwrite-strings",
++					"-Wmissing-format-attribute",
++					"-Wpacked",
++					"-Wredundant-decls",
++					"-Winline",
++					"-Wdisabled-optimization",
++					"-Winvalid-pch",
++				);
+ 			};
+ 			name = Debug;
+ 		};
+@@ -1376,18 +1392,36 @@
+ 			baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
++				WARNING_CFLAGS = (
++					"-Wall",
++					"-Wno-unused-parameter",
++					"-Wundef",
++					"-Wendif-labels",
++					"-Wpointer-arith",
++					"-Wcast-align",
++					"-Wwrite-strings",
++					"-Wmissing-format-attribute",
++					"-Wpacked",
++					"-Wredundant-decls",
++					"-Winline",
++					"-Wdisabled-optimization",
++					"-Winvalid-pch",
++				);
+ 			};
+ 			name = Release;
+ 		};
+ 		1DEB91B208733DA50010E9CD /* Debug */ = {
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+ 		1DEB91B308733DA50010E9CD /* Release */ = {
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = Release;
+ 		};
+@@ -1412,6 +1446,7 @@
+ 					AppKit,
+ 				);
+ 				PRODUCT_NAME = finish_installation;
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+@@ -1435,6 +1470,7 @@
+ 					AppKit,
+ 				);
+ 				PRODUCT_NAME = finish_installation;
++				SDKROOT = macosx;
+ 				ZERO_LINK = NO;
+ 			};
+ 			name = Release;
+@@ -1457,6 +1493,7 @@
+ 					AppKit,
+ 				);
+ 				PRODUCT_NAME = finish_installation;
++				SDKROOT = macosx;
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+@@ -1464,6 +1501,7 @@
+ 			isa = XCBuildConfiguration;
+ 			baseConfigurationReference = 5D06E8F20FD68D21005AE3F6 /* ConfigBinaryDeltaDebug.xcconfig */;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+@@ -1471,6 +1509,7 @@
+ 			isa = XCBuildConfiguration;
+ 			baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = Release;
+ 		};
+@@ -1478,12 +1517,14 @@
+ 			isa = XCBuildConfiguration;
+ 			baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+ 		61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = {
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
++				SDKROOT = macosx;
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+@@ -1492,6 +1533,22 @@
+ 			baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
++				WARNING_CFLAGS = (
++					"-Wall",
++					"-Wno-unused-parameter",
++					"-Wundef",
++					"-Wendif-labels",
++					"-Wpointer-arith",
++					"-Wcast-align",
++					"-Wwrite-strings",
++					"-Wmissing-format-attribute",
++					"-Wpacked",
++					"-Wredundant-decls",
++					"-Winline",
++					"-Wdisabled-optimization",
++					"-Winvalid-pch",
++				);
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+@@ -1500,6 +1557,7 @@
+ 			baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+@@ -1508,6 +1566,7 @@
+ 			baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = "Release (GC dual-mode; 10.5+)";
+ 		};
+@@ -1516,6 +1575,7 @@
+ 			baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+@@ -1524,6 +1584,7 @@
+ 			baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = Release;
+ 		};
+@@ -1532,6 +1593,7 @@
+ 			baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+@@ -1540,6 +1602,7 @@
+ 			baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */;
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
++				SDKROOT = macosx;
+ 			};
+ 			name = Release;
+ 		};



More information about the vlc-commits mailing list