diff options
Diffstat (limited to 'vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch')
| -rw-r--r-- | vcpkg/ports/ffmpeg/0024-fix-osx-host-c11.patch | 15 |
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 + |