aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch')
-rw-r--r--vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch b/vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch
new file mode 100644
index 0000000..dbce2f5
--- /dev/null
+++ b/vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch
@@ -0,0 +1,15 @@
+diff --git a/configure b/configure
+index 4f5353f84b..dd9147c677 100755
+--- a/configure
++++ b/configure
+@@ -5607,8 +5607,8 @@ check_cppflags -D_FILE_OFFSET_BITS=64
+ check_cppflags -D_LARGEFILE_SOURCE
+
+ add_host_cppflags -D_ISOC11_SOURCE
+ check_host_cflags_cc -std=$stdc ctype.h "__STDC_VERSION__ >= 201112L" ||
+- check_host_cflags_cc -std=c11 ctype.h "__STDC_VERSION__ >= 201112L" || die "Host compiler lacks C11 support"
++ check_host_cflags_cc -std=c11 ctype.h "__STDC_VERSION__ >= 201112L"
+
+ check_host_cflags -Wall
+ check_host_cflags $host_cflags_speed
+