[vlc-commits] contrib/growl: fix compilation with modern Xcode

Felix Paul Kühne git at videolan.org
Mon Sep 7 11:48:50 CEST 2020


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Aug 31 16:53:58 2020 +0200| [cbce3053f26c4cf7e61b0fda840822e7abc2a39c] | committer: Felix Paul Kühne

contrib/growl: fix compilation with modern Xcode

This fixes the compilation when the Mac OS X 10.8 SDK is not available.

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

 contrib/src/growl/growl-update-vcs-target.patch | 26 +++++++++++++++++++++++++
 contrib/src/growl/rules.mak                     |  1 +
 2 files changed, 27 insertions(+)

diff --git a/contrib/src/growl/growl-update-vcs-target.patch b/contrib/src/growl/growl-update-vcs-target.patch
new file mode 100644
index 0000000000..2d8841ab8c
--- /dev/null
+++ b/contrib/src/growl/growl-update-vcs-target.patch
@@ -0,0 +1,26 @@
+--- growl/Growl.xcodeproj/project.pbxproj	2012-12-12 07:18:11.000000000 +0100
++++ growl/Growl.xcodeproj/project.pbxproj	2020-08-31 16:50:03.000000000 +0200
+@@ -5667,6 +5667,7 @@
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
+ 				PRODUCT_NAME = Revision;
++				SDKROOT = macosx;
+ 			};
+ 			name = Localization;
+ 		};
+@@ -5794,6 +5795,7 @@
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
+ 				PRODUCT_NAME = Revision;
++				SDKROOT = macosx;
+ 			};
+ 			name = Debug;
+ 		};
+@@ -5803,6 +5805,7 @@
+ 			buildSettings = {
+ 				COMBINE_HIDPI_IMAGES = YES;
+ 				PRODUCT_NAME = Revision;
++				SDKROOT = macosx;
+ 			};
+ 			name = Release;
+ 		};
diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index 2685041621..ed03d523e2 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -18,6 +18,7 @@ growl: GrowlSDK-$(GROWL_VERSION)-src.tar.gz .sum-growl
 	$(APPLY) $(SRC)/growl/security-nothanks.patch
 	$(APPLY) $(SRC)/growl/growl-log-delegate.patch
 	$(APPLY) $(SRC)/growl/growl-partial-availability.diff
+	$(APPLY) $(SRC)/growl/growl-update-vcs-target.patch
 	$(MOVE)
 
 .growl: growl



More information about the vlc-commits mailing list