summaryrefslogtreecommitdiffstats
path: root/contrib/patch-xvidcore-cygwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/patch-xvidcore-cygwin.patch')
-rw-r--r--contrib/patch-xvidcore-cygwin.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/contrib/patch-xvidcore-cygwin.patch b/contrib/patch-xvidcore-cygwin.patch
new file mode 100644
index 000000000..7b60510d0
--- /dev/null
+++ b/contrib/patch-xvidcore-cygwin.patch
@@ -0,0 +1,34 @@
+diff -Naur xvidcore/build/generic/configure xvidcore-patched/build/generic/configure
+--- xvidcore/build/generic/configure 2005-12-30 09:45:30.000000000 -0500
++++ xvidcore-patched/build/generic/configure 2007-01-01 18:43:27.953125000 -0500
+@@ -3844,10 +3844,9 @@
+ [cC][yY][gG][wW][iI][nN]*|mingw32*|mks*)
+ echo "$as_me:$LINENO: result: ok" >&5
+ echo "${ECHO_T}ok" >&6
+- STATIC_LIB="xvidcore.\$(STATIC_EXTENSION)"
+- SHARED_LIB="xvidcore.\$(SHARED_EXTENSION)"
+- SPECIFIC_LDFLAGS="-mno-cygwin -shared -Wl,--dll,--out-implib,\[email protected] libxvidcore.def"
+- SPECIFIC_CFLAGS="-mno-cygwin"
++ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
++ SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)"
++ SPECIFIC_LDFLAGS="-shared -Wl,--dll,--out-implib,\[email protected] libxvidcore.def"
+ ;;
+ darwin*|raphsody*)
+ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
+diff -Naur xvidcore/build/generic/configure.in xvidcore-patched/build/generic/configure.in
+--- xvidcore/build/generic/configure.in 2005-12-30 09:45:30.000000000 -0500
++++ xvidcore-patched/build/generic/configure.in 2007-01-01 18:43:11.453125000 -0500
+@@ -281,10 +281,9 @@
+ ;;
+ [[cC]][[yY]][[gG]][[wW]][[iI]][[nN]]*|mingw32*|mks*)
+ AC_MSG_RESULT([ok])
+- STATIC_LIB="xvidcore.\$(STATIC_EXTENSION)"
+- SHARED_LIB="xvidcore.\$(SHARED_EXTENSION)"
+- SPECIFIC_LDFLAGS="-mno-cygwin -shared -Wl,--dll,--out-implib,\[email protected] libxvidcore.def"
+- SPECIFIC_CFLAGS="-mno-cygwin"
++ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
++ SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)"
++ SPECIFIC_LDFLAGS="-shared -Wl,--dll,--out-implib,\[email protected] libxvidcore.def"
+ ;;
+ darwin*|raphsody*)
+ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"