summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/P03-mingw-gnu99.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/P03-mingw-gnu99.patch')
-rw-r--r--contrib/ffmpeg/P03-mingw-gnu99.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/ffmpeg/P03-mingw-gnu99.patch b/contrib/ffmpeg/P03-mingw-gnu99.patch
new file mode 100644
index 000000000..06a598dd0
--- /dev/null
+++ b/contrib/ffmpeg/P03-mingw-gnu99.patch
@@ -0,0 +1,22 @@
+Index: configure
+===================================================================
+--- ffmpeg.orig/configure (revision 25082)
++++ ffmpeg/configure (working copy)
+@@ -2222,7 +2222,7 @@
+ fi
+
+ add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
+-check_cflags -std=c99
++check_cflags -std=gnu99
+ check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
+ #include <stdlib.h>
+ EOF
+@@ -2230,7 +2230,7 @@
+ #include <stdlib.h>
+ EOF
+
+-check_host_cflags -std=c99
++check_host_cflags -std=gnu99
+
+ case "$arch" in
+ alpha|ia64|mips|parisc|sparc)