summaryrefslogtreecommitdiffstats
path: root/contrib/patch-xvidcore-cygwin.patch
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2008-02-04 01:22:25 +0000
committersaintdev <[email protected]>2008-02-04 01:22:25 +0000
commit315addcabf19ac7ef618753be61b9bebc08a478a (patch)
tree3a177decd957ab5c2c17535146804b2d2336e7e8 /contrib/patch-xvidcore-cygwin.patch
parentcdc741bb0ce20aabffe06fac42270aac98b8f2c6 (diff)
Revert "Cygwin: Patches for xvid and mpeg4ip Updated to work with new nasm 2.x.x"
This reverts revision 1235. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1246 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/patch-xvidcore-cygwin.patch')
-rw-r--r--contrib/patch-xvidcore-cygwin.patch86
1 files changed, 34 insertions, 52 deletions
diff --git a/contrib/patch-xvidcore-cygwin.patch b/contrib/patch-xvidcore-cygwin.patch
index b186c8295..7b60510d0 100644
--- a/contrib/patch-xvidcore-cygwin.patch
+++ b/contrib/patch-xvidcore-cygwin.patch
@@ -1,52 +1,34 @@
-diff -Naur xvidcoreOrg/build/generic/configure xvidcore/build/generic/configure
---- xvidcoreOrg/build/generic/configure 2006-11-01 10:39:36.000000000 +0000
-+++ xvidcore/build/generic/configure 2008-01-26 18:07:50.453125000 +0000
-@@ -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)"
-@@ -4016,7 +4015,7 @@
- if test "$ac_nasm" = "yes" ; then
- echo "$as_me:$LINENO: checking for nasm patch version" >&5
- echo $ECHO_N "checking for nasm patch version... $ECHO_C" >&6
-- nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
-+ nasm_patch=`($nasm_prog -r || $nasm_prog -v) | cut -d '.' -f 3 | cut -d ' ' -f 1`
- if test -z $nasm_patch ; then
- nasm_patch=-1
- fi
-diff -Naur xvidcoreOrg/build/generic/configure.in xvidcore/build/generic/configure.in
---- xvidcoreOrg/build/generic/configure.in 2006-11-01 10:38:16.000000000 +0000
-+++ xvidcore/build/generic/configure.in 2008-01-26 18:07:53.203125000 +0000
-@@ -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)"
-@@ -363,7 +362,7 @@
- dnl Checking nasm patch version
- dnl
- AC_MSG_CHECKING([for nasm patch version])
-- nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
-+ nasm_patch=`($nasm_prog -r || $nasm_prog -v) | cut -d '.' -f 3 | cut -d ' ' -f 1`
- if test -z $nasm_patch ; then
- nasm_patch=-1
- fi
+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)"