summaryrefslogtreecommitdiffstats
path: root/src/xvidcore-1-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/xvidcore-1-fixes.patch')
-rw-r--r--src/xvidcore-1-fixes.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/xvidcore-1-fixes.patch b/src/xvidcore-1-fixes.patch
new file mode 100644
index 0000000..b0d6f1d
--- /dev/null
+++ b/src/xvidcore-1-fixes.patch
@@ -0,0 +1,29 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From dce4564d204160aee0da5107e69cbdefe2bec921 Mon Sep 17 00:00:00 2001
+From: mingw-cross-env
+Date: Mon, 28 Mar 2011 00:00:51 +0200
+Subject: [PATCH] remove obsolete -mno-cygwin
+
+
+diff --git a/configure.in b/configure.in
+index 0536fe1..b954a10 100644
+--- a/configure.in
++++ b/configure.in
+@@ -286,8 +286,8 @@ case "$target_os" in
+ AC_MSG_RESULT([ok])
+ STATIC_LIB="xvidcore.\$(STATIC_EXTENSION)"
+ SHARED_LIB="xvidcore.\$(SHARED_EXTENSION)"
+- SPECIFIC_LDFLAGS="-mno-cygwin -shared -Wl,--dll,--out-implib,\$@.a libxvidcore.def"
+- SPECIFIC_CFLAGS="-mno-cygwin"
++ SPECIFIC_LDFLAGS="-shared -Wl,--dll,--out-implib,\$@.a libxvidcore.def"
++ SPECIFIC_CFLAGS=""
+ ;;
+ darwin*|raphsody*)
+ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
+--
+1.7.4.1
+