summaryrefslogtreecommitdiff
path: root/recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch')
-rw-r--r--recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch b/recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch
new file mode 100644
index 00000000..57890b2b
--- /dev/null
+++ b/recipes/openh264/0001-openh264-Build-for-iOS-SDK-11.0.patch
@@ -0,0 +1,25 @@
+From b033dc4e14d168fb073787626eb20b4b3eedf240 Mon Sep 17 00:00:00 2001
+From: Matthew Waters <matthew@centricular.com>
+Date: Tue, 10 Mar 2020 12:23:44 +1100
+Subject: [PATCH] openh264: Build for iOS SDK 11.0
+
+---
+ build/platform-ios.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/platform-ios.mk b/build/platform-ios.mk
+index f04b5c5..8501eed 100644
+--- a/build/platform-ios.mk
++++ b/build/platform-ios.mk
+@@ -7,7 +7,7 @@ SDKTYPE = iPhoneSimulator
+ else
+ SDKTYPE = iPhoneOS
+ endif
+-SDK_MIN = 5.1
++SDK_MIN = 11.0
+
+ SDKROOT := $(shell xcrun --sdk $(shell echo $(SDKTYPE) | tr A-Z a-z) --show-sdk-path)
+ CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS -fembed-bitcode
+--
+2.25.1
+