[vlc-devel] [PATCH 11/12] contrib/growl: add support for ARM64

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


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

This adds ARM64 as a valid arch and disable the treat-warning-as-error behavior.
---
 contrib/src/growl/growl-support-arm64.patch | 59 +++++++++++++++++++++
 contrib/src/growl/rules.mak                 |  1 +
 2 files changed, 60 insertions(+)
 create mode 100644 contrib/src/growl/growl-support-arm64.patch

diff --git a/contrib/src/growl/growl-support-arm64.patch b/contrib/src/growl/growl-support-arm64.patch
new file mode 100644
index 0000000000..59977ede1d
--- /dev/null
+++ b/contrib/src/growl/growl-support-arm64.patch
@@ -0,0 +1,59 @@
+--- growl/Growl.xcodeproj/project.pbxproj	2020-08-31 16:59:37.000000000 +0200
++++ growl/Growl.xcodeproj/project.pbxproj	2020-08-31 18:32:49.000000000 +0200
+@@ -502,6 +502,8 @@
+ 			isa = PBXBuildRule;
+ 			compilerSpec = com.apple.compilers.gcc.4_0;
+ 			fileType = sourcecode.c;
++			inputFiles = (
++			);
+ 			isEditable = 1;
+ 			outputFiles = (
+ 			);
+@@ -5448,6 +5450,7 @@
+ 				FRAMEWORK_VERSION = A;
+ 				GCC_PREFIX_HEADER = Framework/Source/GrowlFramework_Prefix.pch;
+ 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
++				GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+ 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
+ 				INFOPLIST_PREPROCESS = YES;
+ 				INSTALL_PATH = "@executable_path/../Frameworks";
+@@ -5462,6 +5465,7 @@
+ 				);
+ 				PRODUCT_NAME = Growl;
+ 				SDKROOT = macosx;
++				VALID_ARCHS = "i386 x86_64 arm64";
+ 				WARNING_LDFLAGS = "-Wassign-intercept";
+ 			};
+ 			name = Localization;
+@@ -6169,6 +6173,7 @@
+ 				FRAMEWORK_VERSION = A;
+ 				GCC_PREFIX_HEADER = Framework/Source/GrowlFramework_Prefix.pch;
+ 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
++				GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+ 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
+ 				INFOPLIST_PREPROCESS = YES;
+ 				INSTALL_PATH = "@executable_path/../Frameworks";
+@@ -6183,6 +6188,7 @@
+ 				);
+ 				PRODUCT_NAME = Growl;
+ 				SDKROOT = macosx;
++				VALID_ARCHS = "i386 x86_64 arm64";
+ 				WARNING_LDFLAGS = "-Wassign-intercept";
+ 			};
+ 			name = Debug;
+@@ -6198,6 +6204,7 @@
+ 				FRAMEWORK_VERSION = A;
+ 				GCC_PREFIX_HEADER = Framework/Source/GrowlFramework_Prefix.pch;
+ 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
++				GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+ 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
+ 				INFOPLIST_PREPROCESS = YES;
+ 				INSTALL_PATH = "@executable_path/../Frameworks";
+@@ -6212,6 +6219,7 @@
+ 				);
+ 				PRODUCT_NAME = Growl;
+ 				SDKROOT = macosx;
++				VALID_ARCHS = "i386 x86_64 arm64";
+ 				WARNING_LDFLAGS = "-Wassign-intercept";
+ 			};
+ 			name = Release;
diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index ed03d523e2..91d1e4ffa0 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -19,6 +19,7 @@ growl: GrowlSDK-$(GROWL_VERSION)-src.tar.gz .sum-growl
 	$(APPLY) $(SRC)/growl/growl-log-delegate.patch
 	$(APPLY) $(SRC)/growl/growl-partial-availability.diff
 	$(APPLY) $(SRC)/growl/growl-update-vcs-target.patch
+	$(APPLY) $(SRC)/growl/growl-support-arm64.patch
 	$(MOVE)
 
 .growl: growl
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list