[vlc-devel] [PATCH 10/12] contrib/growl: fix compilation with modern Xcode

Felix Paul Kühne fkuehne at videolan.org
Mon Aug 31 19:06:00 CEST 2020


From: Felix Paul Kühne <felix at feepk.net>

This fixes the compilation when the Mac OS X 10.8 SDK is not available.
---
 .../src/growl/growl-update-vcs-target.patch   | 26 +++++++++++++++++++
 contrib/src/growl/rules.mak                   |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 contrib/src/growl/growl-update-vcs-target.patch

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
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list