aboutsummaryrefslogtreecommitdiff
path: root/lib/ffmpeg/patches/0011-mingw-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffmpeg/patches/0011-mingw-workaround.patch')
-rw-r--r--lib/ffmpeg/patches/0011-mingw-workaround.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/ffmpeg/patches/0011-mingw-workaround.patch b/lib/ffmpeg/patches/0011-mingw-workaround.patch
new file mode 100644
index 0000000000..9b84de145b
--- /dev/null
+++ b/lib/ffmpeg/patches/0011-mingw-workaround.patch
@@ -0,0 +1,36 @@
+From c39cf2c1c78b4d1485adb0b6c7e1566beecc1e9f Mon Sep 17 00:00:00 2001
+From: Cory Fields <theuni-nospam-@xbmc.org>
+Date: Mon, 28 Jun 2010 02:49:03 -0400
+Subject: [PATCH 11/36] mingw workaround
+
+---
+ configure | 6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 46f4e44..5931f35 100755
+--- a/configure
++++ b/configure
+@@ -2921,7 +2921,8 @@ check_cflags -Wcast-qual
+ check_cflags -Wwrite-strings
+ check_cflags -Wtype-limits
+ check_cflags -Wundef
+-check_cflags -Wmissing-prototypes
++# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
++# check_cflags -Wmissing-prototypes
+ enabled extra_warnings && check_cflags -Winline
+
+ # add some linker flags
+@@ -2986,7 +2987,8 @@ elif enabled ccc; then
+ elif enabled gcc; then
+ check_cflags -fno-tree-vectorize
+ check_cflags -Werror=implicit-function-declaration
+- check_cflags -Werror=missing-prototypes
++# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
++# check_cflags -Werror=missing-prototypes
+ elif enabled llvm_gcc; then
+ check_cflags -mllvm -stack-alignment=16
+ elif enabled clang; then
+--
+1.7.3
+